summaryrefslogtreecommitdiff
path: root/ctdb/tests/eventscripts/05.system.monitor.012.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/tests/eventscripts/05.system.monitor.012.sh')
-rwxr-xr-xctdb/tests/eventscripts/05.system.monitor.012.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/ctdb/tests/eventscripts/05.system.monitor.012.sh b/ctdb/tests/eventscripts/05.system.monitor.012.sh
new file mode 100755
index 00000000000..6e9401233b2
--- /dev/null
+++ b/ctdb/tests/eventscripts/05.system.monitor.012.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+. "${TEST_SCRIPTS_DIR}/unit.sh"
+
+define_test "Memory check, good situation, all enabled"
+
+setup_memcheck
+
+CTDB_MONITOR_FREE_MEMORY="500"
+CTDB_MONITOR_FREE_MEMORY_WARN="1000"
+CTDB_CHECK_SWAP_IS_NOT_USED="yes"
+
+ok_null
+
+simple_test