/
niceSOFT
/
dbus
Обзор
Документация
Войти
/
niceSOFT
/
dbus
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/data/auth/external-auto.auth-script
18 строк
522 B
Simon McVittie
test: Add a test for authenticating with an empty authorization identity
15 янв 2018, 17:05
15 янв 2018, 17:05
8a4928a
Код
Авторство
О чём код?
# 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