diff options
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest b/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest index e02fc7f2b9..ef10b08bc8 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest | |||
@@ -1,11 +1,10 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | cd ./test | 3 | cd ./test |
4 | ./test_script &>../test.log | 4 | ./test_script | sed -u -e '/:[[:space:]]ok/s/^/PASS: /' -e '/:[[:space:]]failed/s/^/FAIL: /' -e '/:[[:space:]]skipped/s/^/SKIP: /' |
5 | if [ $? -eq 0 ] | 5 | rm -rf /var/volatile/tmp/*e2fsprogs* |
6 | then | 6 | rm -f tmp-* |
7 | echo "PASS: e2fsprogs" | 7 | rm -f *.tmp |
8 | rm ../test.log | 8 | rm -f *.ok |
9 | else | 9 | rm -f *.failed |
10 | echo "FAIL: e2fsprogs" | 10 | rm -f *.log |
11 | fi | ||