File: extra-bytes.auth-script

package info (click to toggle)
dbus 1.0.2-1%2Betch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 7,120 kB
  • ctags: 4,346
  • sloc: ansic: 65,805; sh: 8,901; xml: 6,705; makefile: 515
file content (10 lines) | stat: -rwxr-xr-x 272 bytes parent folder | download | duplicates (14)
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