File: extra-bytes.auth-script

package info (click to toggle)
dbus 1.2.24-4%2Bsqueeze2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 9,000 kB
  • ctags: 5,571
  • sloc: ansic: 72,564; sh: 10,562; xml: 6,322; makefile: 640; python: 72
file content (10 lines) | stat: -rw-r--r-- 272 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
## this tests that we have the expected extra bytes at the end

SERVER
SEND 'AUTH EXTERNAL USERID_HEX'
EXPECT_COMMAND OK
EXPECT_STATE WAITING_FOR_INPUT
SEND 'BEGIN\r\nHello'
EXPECT_STATE AUTHENTICATED_WITH_UNUSED_BYTES
EXPECT_UNUSED 'Hello\r\n'
EXPECT_STATE AUTHENTICATED