summaryrefslogtreecommitdiffstats
path: root/debian/tests/fence-dummy
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/fence-dummy')
-rwxr-xr-xdebian/tests/fence-dummy14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/tests/fence-dummy b/debian/tests/fence-dummy
new file mode 100755
index 0000000..c0b2ba3
--- /dev/null
+++ b/debian/tests/fence-dummy
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -ex
+
+# clean up
+rm -f /tmp/fence_dummy.status
+trap "rm -f /tmp/fence_dummy.status" 0 2 3 15
+
+/usr/sbin/fence_dummy -V
+
+/usr/sbin/fence_dummy -v
+
+# show status from /tmp/fence_dummy.status
+/usr/sbin/fence_dummy -o status