File: extra-bytes.auth-script

package info (click to toggle)
dbus 0.23.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 7,112 kB
  • ctags: 4,832
  • sloc: ansic: 58,374; sh: 8,603; xml: 7,376; cs: 3,348; cpp: 1,043; makefile: 767; python: 523; java: 15
file content (10 lines) | stat: -rw-r--r-- 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