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