File: external-silly.auth-script

package info (click to toggle)
dbus 1.2.1-5%2Blenny2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 7,524 kB
  • ctags: 4,777
  • sloc: ansic: 70,571; sh: 9,458; xml: 6,283; makefile: 607
file content (12 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
## this tests we can't auth if socket reports silly credentials but we ask for our own uid

SERVER
## verify that prior to doing anything, we haven't authed as anyone
EXPECT_HAVE_NO_CREDENTIALS
SILLY_CREDENTIALS
SEND 'AUTH EXTERNAL USERID_HEX'
EXPECT_COMMAND REJECTED
EXPECT_STATE WAITING_FOR_INPUT
## verify that we still haven't authed as anyone
EXPECT_HAVE_NO_CREDENTIALS