mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
ctdb-tests: Fix nonsense arguments to ps stub
These were fine (though still lazy) when these tests were the only user of this stub. However, the ps stub is about to be enhanced, so fix these uses of it to represent the intended usage. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
ffb56c9143
commit
a3e7fd9c61
@ -14,7 +14,7 @@ set_mem_usage 90 90
|
||||
required_result 1 <<EOF
|
||||
ERROR: System memory utilization 90% >= threshold 85%
|
||||
$FAKE_PROC_MEMINFO
|
||||
$(ps foobar)
|
||||
$(ps auxfww)
|
||||
EOF
|
||||
|
||||
simple_test
|
||||
|
@ -14,7 +14,7 @@ set_mem_usage 87 87
|
||||
required_result 1 <<EOF
|
||||
ERROR: System memory utilization 87% >= threshold 80%
|
||||
$FAKE_PROC_MEMINFO
|
||||
$(ps foobar)
|
||||
$(ps auxfww)
|
||||
EOF
|
||||
|
||||
simple_test
|
||||
|
@ -41,7 +41,7 @@ set_mem_usage 80 80
|
||||
required_result 1 <<EOF
|
||||
ERROR: System memory utilization 80% >= threshold 80%
|
||||
$FAKE_PROC_MEMINFO
|
||||
$(ps foobar)
|
||||
$(ps auxfww)
|
||||
EOF
|
||||
simple_test
|
||||
|
||||
@ -72,7 +72,7 @@ set_mem_usage 81 81
|
||||
required_result 1 <<EOF
|
||||
ERROR: System memory utilization 81% >= threshold 80%
|
||||
$FAKE_PROC_MEMINFO
|
||||
$(ps foobar)
|
||||
$(ps auxfww)
|
||||
EOF
|
||||
simple_test
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user