aboutsummaryrefslogtreecommitdiffstats
path: root/meta-security/recipes-security/cynara/cynara/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'meta-security/recipes-security/cynara/cynara/run-ptest')
-rwxr-xr-xmeta-security/recipes-security/cynara/cynara/run-ptest4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-security/recipes-security/cynara/cynara/run-ptest b/meta-security/recipes-security/cynara/cynara/run-ptest
new file mode 100755
index 000000000..f8dd5d8b4
--- /dev/null
+++ b/meta-security/recipes-security/cynara/cynara/run-ptest
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cynara-tests | sed -e 's/^\[ *OK *\] \(\S*\)$/PASS: \1/' -e 's/^\[ *FAILED *\] \(\S*\)$/FAIL: \1/'
+sh /usr/bin/cynara-db-migration-tests | sed -e 's/^Test .*(\([^)]*\)).*passed.*/PASS: \1/' -e 's/^Test .*(\([^)]*\)).*failed.*/FAIL: \1/'