mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
e003699686
... plus updates to test infrastructure to support. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 4a388fc6bf54636b7e1f6da8e6aa451cddd574f7)
20 lines
297 B
Bash
Executable File
20 lines
297 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "Memory check, bad situation, only swap check"
|
|
|
|
setup_memcheck "bad"
|
|
|
|
CTDB_MONITOR_FREE_MEMORY=""
|
|
CTDB_MONITOR_FREE_MEMORY_WARN=""
|
|
CTDB_CHECK_SWAP_IS_NOT_USED="yes"
|
|
|
|
ok <<EOF
|
|
We are swapping:
|
|
$FAKE_PROC_MEMINFO
|
|
$(ps foobar)
|
|
EOF
|
|
|
|
simple_test
|