summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/UNIT/eventscripts/50.samba.monitor.105.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/tests/UNIT/eventscripts/50.samba.monitor.105.sh')
-rwxr-xr-xctdb/tests/UNIT/eventscripts/50.samba.monitor.105.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/ctdb/tests/UNIT/eventscripts/50.samba.monitor.105.sh b/ctdb/tests/UNIT/eventscripts/50.samba.monitor.105.sh
new file mode 100755
index 0000000..1f2fa1e
--- /dev/null
+++ b/ctdb/tests/UNIT/eventscripts/50.samba.monitor.105.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+. "${TEST_SCRIPTS_DIR}/unit.sh"
+
+define_test "non-existent share path"
+
+setup
+
+out=$(shares_missing "ERROR: samba directory \"%s\" not available" 2)
+
+required_result 1 "$out"
+simple_test