[CRIU] [PATCH v2] zdtm: cleanup launcher output in case of passed
test
Kinsbursky Stanislav
skinsbursky at openvz.org
Thu Nov 1 05:08:42 EDT 2012
From: Stanislav Kinsbursky <skinsbursky at openvz.org>
Print PASS only once.
Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>
---
test/zdtm.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
diff --git a/test/zdtm.sh b/test/zdtm.sh
index 41cedeb..1b5febd 100644
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -291,7 +291,7 @@ EOF
[ $sltime -lt 9 ] && sltime=$((sltime+1))
done
cat $test.out
- cat $test.out | grep PASS || return 2
+ cat $test.out | grep -q PASS || return 2
}
case_error()
More information about the CRIU
mailing list