summaryrefslogtreecommitdiff
path: root/test/data/auth/external-root.auth-script
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/auth/external-root.auth-script')
-rw-r--r--test/data/auth/external-root.auth-script11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/data/auth/external-root.auth-script b/test/data/auth/external-root.auth-script
new file mode 100644
index 00000000..b4c4b439
--- /dev/null
+++ b/test/data/auth/external-root.auth-script
@@ -0,0 +1,11 @@
+## this tests we can auth EXTERNAL as ourselves, with root credentials
+UNIX_ONLY
+SERVER
+ROOT_CREDENTIALS
+## 30 is ASCII '0' in hex
+SEND 'AUTH EXTERNAL 30'
+EXPECT_COMMAND OK
+EXPECT_STATE WAITING_FOR_INPUT
+SEND 'BEGIN'
+EXPECT_STATE AUTHENTICATED
+