summaryrefslogtreecommitdiffstats
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-script10
1 files changed, 10 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..720b7e51
--- /dev/null
+++ b/test/data/auth/external-root.auth-script
@@ -0,0 +1,10 @@
+## this tests we can auth EXTERNAL as ourselves, with root credentials
+
+SERVER
+ROOT_CREDENTIALS
+SEND 'AUTH EXTERNAL USERNAME_BASE64'
+EXPECT_COMMAND OK
+EXPECT_STATE WAITING_FOR_INPUT
+SEND 'BEGIN'
+EXPECT_STATE AUTHENTICATED
+