Enable ptest for mdadm, by reusing internal testsuite. (From OE-Core rev: 313a6ee224831d842af8ca95d827bf17230540dc) Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 lines
113 B
Bash
11 lines
113 B
Bash
#!/bin/sh
|
|
|
|
./test &>./test.log
|
|
if [ $? -eq 0 ]
|
|
then
|
|
echo "PASS: mdadm"
|
|
rm test.log
|
|
else
|
|
echo "FAIL: mdadm"
|
|
fi
|