File: external-failed.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 (11 lines) | stat: -rw-r--r-- 352 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
## this tests that auth of type EXTERNAL without credentials will fail

SERVER
NO_CREDENTIALS
## verify that prior to doing anything, we haven't authed as anyone
EXPECT_HAVE_NO_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