Imported Upstream version 1.5.12
[platform/upstream/dbus.git] / test / data / auth / external-silly.auth-script
1 ## this tests we can't auth if socket reports silly credentials but we ask for our own uid
2
3 SERVER
4 ## verify that prior to doing anything, we haven't authed as anyone
5 EXPECT_HAVE_NO_CREDENTIALS
6 SILLY_CREDENTIALS
7 SEND 'AUTH EXTERNAL USERID_HEX'
8 EXPECT_COMMAND REJECTED
9 EXPECT_STATE WAITING_FOR_INPUT
10 ## verify that we still haven't authed as anyone
11 EXPECT_HAVE_NO_CREDENTIALS
12