summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mdadm/files
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dmitry_eremin@mentor.com>2015-04-17 16:52:24 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-19 13:34:05 +0100
commit313a6ee224831d842af8ca95d827bf17230540dc (patch)
tree335e8fd1d305b1dddc521aef457247338bd20b0e /meta/recipes-extended/mdadm/files
parent9d86eb2e448263f7e395b48d95c380b2dc66ad8e (diff)
downloadopenembedded-core-contrib-313a6ee224831d842af8ca95d827bf17230540dc.tar.gz
mdadm: add ptest
Enable ptest for mdadm, by reusing internal testsuite. Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/mdadm/files')
-rw-r--r--meta/recipes-extended/mdadm/files/run-ptest10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-extended/mdadm/files/run-ptest b/meta/recipes-extended/mdadm/files/run-ptest
new file mode 100644
index 00000000000..5b276090f5a
--- /dev/null
+++ b/meta/recipes-extended/mdadm/files/run-ptest
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+./test &>./test.log
+if [ $? -eq 0 ]
+then
+ echo "PASS: mdadm"
+ rm test.log
+else
+ echo "FAIL: mdadm"
+fi