mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
4164d7bf31
Always check filesystem usage for the database directories. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Sat Aug 29 20:08:48 CEST 2015 on sn-devel-104
15 lines
276 B
Bash
Executable File
15 lines
276 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "Filesystem use check, error situation, no checks enabled"
|
|
|
|
setup_memcheck
|
|
|
|
CTDB_MONITOR_FILESYSTEM_USAGE=""
|
|
setup_fscheck 100
|
|
ok <<EOF
|
|
WARNING: Filesystem ${CTDB_DBDIR} utilization 100% >= threshold 90%
|
|
EOF
|
|
simple_test
|