2014-07-27 13:13:54 +02:00
|
|
|
#!/bin/sh
|
2014-07-22 01:30:31 +02:00
|
|
|
./pidwraptest > pidwraptest.txt
|
2014-07-27 13:13:54 +02:00
|
|
|
while read a b;
|
2014-07-15 23:43:00 +02:00
|
|
|
do
|
|
|
|
if [ "$a" = "$b" ]; then
|
|
|
|
echo "FAIL: $a = $b"
|
2014-07-16 00:20:09 +02:00
|
|
|
return 2
|
2014-07-15 23:43:00 +02:00
|
|
|
else
|
|
|
|
echo "PASS: $a != $b"
|
|
|
|
fi
|
2014-07-22 01:30:31 +02:00
|
|
|
done < pidwraptest.txt
|