ldb: Release ldb 1.3.0
[Samba.git] / ctdb / tests / eventscripts / 05.system.monitor.006.sh
blobf4a661b274bf47da002bcf00a5c42bce43e2129f
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "Filesystem use check, error situation, both checks enabled"
7 setup_memcheck
9 CTDB_MONITOR_FILESYSTEM_USAGE="/var:80:90"
10 setup_fscheck 95
11 required_result 1 <<EOF
12 ERROR: Filesystem /var utilization 95% >= threshold 90%
13 EOF
14 simple_test