summaryrefslogtreecommitdiffstats
path: root/debian/tests/cli
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/cli')
-rw-r--r--debian/tests/cli7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/tests/cli b/debian/tests/cli
new file mode 100644
index 0000000..941b4af
--- /dev/null
+++ b/debian/tests/cli
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+echo "show stat" | socat STDIO UNIX-CONNECT:/run/haproxy/admin.sock | grep "^#"
+
+echo "show info" | socat STDIO UNIX-CONNECT:/run/haproxy/admin.sock | grep "^Version:"