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.001.sh
blob
d88d0e3edd949e5c63150d03aa9415d7be4e9b51
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"Filesystem use check, error situation, no checks enabled"
6
7
setup_memcheck
8
9
CTDB_MONITOR_FILESYSTEM_USAGE
=
""
10
setup_fscheck
100
11
ok
<<EOF
12
WARNING: Filesystem
${CTDB_DBDIR}
utilization 100% >= threshold 90%
13
EOF
14
simple_test