libressl-portable/tests/pidwraptest.sh
Brent Cook 23dc97f8c2 rename local tests to end in test.c
ok beck@ guenther@
2014-07-21 19:54:21 -05:00

12 lines
185 B
Bash
Executable File

#!/usr/bin/env bash
./fork_rand > fork_rand.txt
while read -r a b;
do
if [ "$a" = "$b" ]; then
echo "FAIL: $a = $b"
return 2
else
echo "PASS: $a != $b"
fi
done < fork_rand.txt