summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2015-03-25 16:19:49 +0530
committerNaresh Kamboju <naresh.kamboju@linaro.org>2015-03-25 16:19:49 +0530
commit867ebed3dc5c58adc9ac7a16a0a5b0cc4af63fae (patch)
treec4b2bcd4e4755919a9385146eb6e8cc23dc597bd
parentac9a840b26eb6411655bf53cac026aaf4fa4bd0e (diff)
audit-make-run: print results
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rw-r--r--ubuntu/audit-test.yaml2
-rw-r--r--ubuntu/scripts/audit-make-run.exp2
2 files changed, 2 insertions, 2 deletions
diff --git a/ubuntu/audit-test.yaml b/ubuntu/audit-test.yaml
index 6885e46..9b73cca 100644
--- a/ubuntu/audit-test.yaml
+++ b/ubuntu/audit-test.yaml
@@ -59,7 +59,7 @@ run:
- 'groupadd wheel'
- 'useradd -c "EAL Test User" -g wheel eal'
- '/usr/bin/expect $HOME_PWD/ubuntu/scripts/audit-make-run.exp'
- - 'cat */rollup.log || true'
+ - 'egrep "PASS|FAIL|ERROR" audit.rollup.log || true'
parse:
pattern: "^\\[\\d*\\]\\s+(?P<test_case_id>\\w+)\\s+(?P<result>PASS|ERROR)\\s+"
diff --git a/ubuntu/scripts/audit-make-run.exp b/ubuntu/scripts/audit-make-run.exp
index 2600506..92ee007 100644
--- a/ubuntu/scripts/audit-make-run.exp
+++ b/ubuntu/scripts/audit-make-run.exp
@@ -12,4 +12,4 @@ send "admin12\n"
expect "#"
spawn cat audit.rollup.log
interact
-exit 0
+exit