|
From: Jiri J. <jja...@re...> - 2014-09-23 09:46:17
|
From: Miroslav Vadkerti <mva...@re...>
In some occassions the PASS can be on other line then the test
number. Grepping only PASS on the end should be quite safe in
rollup log.
Signed-off-by: Miroslav Vadkerti <mva...@re...>
---
audit-test/utils/run.bash | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/audit-test/utils/run.bash b/audit-test/utils/run.bash
index 451b5e6..aeba0a1 100755
--- a/audit-test/utils/run.bash
+++ b/audit-test/utils/run.bash
@@ -581,7 +581,7 @@ function rerun_test {
[ ! -f "$opt_logdir/rollup.log.$1" ] && return 0
# if test passed do not run
- grep -q "\[[0-9]\+\].*PASS[[:space:]]*$" $opt_logdir/rollup.log.$1 && return 1
+ grep -q ".*PASS[[:space:]]*$" $opt_logdir/rollup.log.$1 && return 1
return 0
}
--
1.8.3.1
|