repo.or.cz
/
Samba.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ldb: Release ldb 1.3.0
[Samba.git]
/
ctdb
/
tests
/
eventscripts
/
05.system.monitor.006.sh
blob
f4a661b274bf47da002bcf00a5c42bce43e2129f
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"Filesystem use check, error situation, both checks enabled"
6
7
setup_memcheck
8
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