add another test
authorHavoc Pennington <hp@redhat.com>
Sun, 16 Feb 2003 07:25:30 +0000 (07:25 +0000)
committerHavoc Pennington <hp@redhat.com>
Sun, 16 Feb 2003 07:25:30 +0000 (07:25 +0000)
test/data/auth/invalid-command-client.auth-script [new file with mode: 0644]

diff --git a/test/data/auth/invalid-command-client.auth-script b/test/data/auth/invalid-command-client.auth-script
new file mode 100644 (file)
index 0000000..ac17e7b
--- /dev/null
@@ -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