summaryrefslogtreecommitdiffstats
path: root/test/data/auth/invalid-command.auth-script
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/auth/invalid-command.auth-script')
-rw-r--r--test/data/auth/invalid-command.auth-script7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/data/auth/invalid-command.auth-script b/test/data/auth/invalid-command.auth-script
new file mode 100644
index 00000000..c49cb8d3
--- /dev/null
+++ b/test/data/auth/invalid-command.auth-script
@@ -0,0 +1,7 @@
+## this tests that receiving a nonexistent command is handled properly
+## by a server
+
+SERVER
+SEND 'NONEXISTENT_COMMAND foo bar baz blah blah'
+EXPECT_COMMAND ERROR
+EXPECT_STATE WAITING_FOR_INPUT