File: extra-bytes.auth-script

package info (click to toggle)
dbus 1.16.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,048 kB
  • sloc: ansic: 106,015; xml: 9,270; sh: 1,967; python: 242; makefile: 230; cpp: 27
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