summaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-02-16 07:25:30 +0000
committerHavoc Pennington <hp@redhat.com>2003-02-16 07:25:30 +0000
commitac5183eafc6bd77bec094c3ba103701a4540f08d (patch)
tree587af54a582f385a6f15b768ba36143bc78cdfcd /test/data
parent4a8a03aeb7430a570618ffec08616c4c87c4ee73 (diff)
downloaddbus-ac5183eafc6bd77bec094c3ba103701a4540f08d.tar.gz
add another test
Diffstat (limited to 'test/data')
-rw-r--r--test/data/auth/invalid-command-client.auth-script8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/data/auth/invalid-command-client.auth-script b/test/data/auth/invalid-command-client.auth-script
new file mode 100644
index 00000000..ac17e7be
--- /dev/null
+++ b/test/data/auth/invalid-command-client.auth-script
@@ -0,0 +1,8 @@
+## this tests that receiving a nonexistent command is handled properly
+## by a client
+
+CLIENT
+EXPECT_COMMAND AUTH
+SEND 'NONEXISTENT_COMMAND foo bar baz blah blah'
+EXPECT_COMMAND ERROR
+EXPECT_STATE WAITING_FOR_INPUT