mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-25 15:10:16 +01:00
Signed-off-by: Simon McVittie <smcv@collabora.com> Reviewed-by: Philip Withnall <withnall@endlessm.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=104588
18 lines
522 B
Text
18 lines
522 B
Text
# Test that we can authenticate with an empty authorization identity
|
|
SERVER
|
|
EXPECT_HAVE_NO_CREDENTIALS
|
|
|
|
# C: "I want to use EXTERNAL, I decline to specify an initial response"
|
|
SEND 'AUTH EXTERNAL'
|
|
# S: "OK, who do you claim to be?"
|
|
EXPECT_COMMAND DATA
|
|
EXPECT_STATE WAITING_FOR_INPUT
|
|
EXPECT_HAVE_NO_CREDENTIALS
|
|
# C: "I am whoever the kernel says I am"
|
|
SEND 'DATA'
|
|
# S: "I suppose I can't argue with that"
|
|
EXPECT_COMMAND OK
|
|
EXPECT_STATE WAITING_FOR_INPUT
|
|
SEND 'BEGIN'
|
|
EXPECT_STATE AUTHENTICATED
|
|
EXPECT_HAVE_SOME_CREDENTIALS
|