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>
required_result 1 <<EOF
ERROR: System memory utilization 90% >= threshold 85%
$FAKE_PROC_MEMINFO
-$(ps foobar)
+$(ps auxfww)
EOF
simple_test
required_result 1 <<EOF
ERROR: System memory utilization 87% >= threshold 80%
$FAKE_PROC_MEMINFO
-$(ps foobar)
+$(ps auxfww)
EOF
simple_test
required_result 1 <<EOF
ERROR: System memory utilization 80% >= threshold 80%
$FAKE_PROC_MEMINFO
-$(ps foobar)
+$(ps auxfww)
EOF
simple_test
required_result 1 <<EOF
ERROR: System memory utilization 81% >= threshold 80%
$FAKE_PROC_MEMINFO
-$(ps foobar)
+$(ps auxfww)
EOF
simple_test