diff options
author | Havoc Pennington <hp@redhat.com> | 2003-02-16 07:20:54 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-02-16 07:20:54 +0000 |
commit | 4a8a03aeb7430a570618ffec08616c4c87c4ee73 (patch) | |
tree | a3ae8240f121e1bfe5bf5df08890ae933f5489d7 /test/data/auth | |
parent | 30265b80acc505602e38d19c7d3036c19ee39340 (diff) | |
download | dbus-4a8a03aeb7430a570618ffec08616c4c87c4ee73.tar.gz |
2003-02-16 Havoc Pennington <hp@pobox.com>
* dbus/dbus-connection.c (dbus_connection_set_change_sigpipe):
allow people to avoid setting SIGPIPE to SIG_IGN
(_dbus_connection_new_for_transport): disable SIGPIPE unless
we've been asked not to
Diffstat (limited to 'test/data/auth')
-rw-r--r-- | test/data/auth/fail-after-n-attempts.auth-script | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/test/data/auth/fail-after-n-attempts.auth-script b/test/data/auth/fail-after-n-attempts.auth-script new file mode 100644 index 00000000..75bd3801 --- /dev/null +++ b/test/data/auth/fail-after-n-attempts.auth-script @@ -0,0 +1,33 @@ +## this tests that after retrying too often we fail + +SERVER +NO_CREDENTIALS + +# 1 +SEND 'AUTH EXTERNAL USERNAME_BASE64' +EXPECT_COMMAND REJECTED +EXPECT_STATE WAITING_FOR_INPUT + +# 2 +SEND 'AUTH EXTERNAL USERNAME_BASE64' +EXPECT_COMMAND REJECTED +EXPECT_STATE WAITING_FOR_INPUT + +# 3 +SEND 'AUTH EXTERNAL USERNAME_BASE64' +EXPECT_COMMAND REJECTED +EXPECT_STATE WAITING_FOR_INPUT + +# 4 +SEND 'AUTH EXTERNAL USERNAME_BASE64' +EXPECT_COMMAND REJECTED +EXPECT_STATE WAITING_FOR_INPUT + +# 5 +SEND 'AUTH EXTERNAL USERNAME_BASE64' +EXPECT_COMMAND REJECTED +EXPECT_STATE WAITING_FOR_INPUT + +# 6 +SEND 'AUTH EXTERNAL USERNAME_BASE64' +EXPECT_STATE NEED_DISCONNECT |