summaryrefslogtreecommitdiffstats
path: root/recipes-containers/cri-o/files/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-containers/cri-o/files/run-ptest')
-rw-r--r--recipes-containers/cri-o/files/run-ptest11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-containers/cri-o/files/run-ptest b/recipes-containers/cri-o/files/run-ptest
new file mode 100644
index 00000000..62abe959
--- /dev/null
+++ b/recipes-containers/cri-o/files/run-ptest
@@ -0,0 +1,11 @@
1#!/bin/sh
2
3./test/test_runner.sh | while IFS= read -r line; do
4 if [[ $line =~ ^not\ ok ]]; then
5 echo "FAIL: ${line#not ok }"
6 elif [[ $line =~ ^ok && ! $line =~ \#\ skip ]]; then
7 echo "PASS: ${line#ok }"
8 elif [[ $line =~ ^ok.*#\ skip ]]; then
9 echo "SKIP: ${line#ok }"
10 fi
11done