1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/ctdb/tests/eventscripts/05.system.monitor.001.sh
Martin Schwenke 8ea7fa57f4 ctdb-tests: CTDB_DBDIR_PERSISTENT should not depend on CTDB_DBDIR
Add new variable CTDB_DBDIR_BASE, just for event script unit tests.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2018-05-01 13:31:20 +02:00

14 lines
243 B
Bash
Executable File

#!/bin/sh
. "${TEST_SCRIPTS_DIR}/unit.sh"
define_test "Filesystem use check, error situation, default checks enabled"
setup
set_fs_usage 100
ok <<EOF
WARNING: Filesystem ${CTDB_DBDIR_BASE} utilization 100% >= threshold 90%
EOF
simple_test