diff options
author | Brent Cook <bcook@openbsd.org> | 2014-07-21 18:25:54 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2014-07-21 19:54:21 -0500 |
commit | 23dc97f8c2543cf67881dd6d4a351e95318637db (patch) | |
tree | b4bd77c9d4762331da593cae2743942d06238c42 /tests/pidwraptest.sh | |
parent | f425f564d5062fdc3f7a0d15c7cc5c36a1723abd (diff) | |
download | portable-23dc97f8c2543cf67881dd6d4a351e95318637db.tar.gz portable-23dc97f8c2543cf67881dd6d4a351e95318637db.tar.bz2 portable-23dc97f8c2543cf67881dd6d4a351e95318637db.zip |
rename local tests to end in test.c
ok beck@ guenther@
Diffstat (limited to 'tests/pidwraptest.sh')
-rwxr-xr-x | tests/pidwraptest.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/pidwraptest.sh b/tests/pidwraptest.sh new file mode 100755 index 0000000..d1e2685 --- /dev/null +++ b/tests/pidwraptest.sh | |||
@@ -0,0 +1,11 @@ | |||
1 | #!/usr/bin/env bash | ||
2 | ./fork_rand > fork_rand.txt | ||
3 | while read -r a b; | ||
4 | do | ||
5 | if [ "$a" = "$b" ]; then | ||
6 | echo "FAIL: $a = $b" | ||
7 | return 2 | ||
8 | else | ||
9 | echo "PASS: $a != $b" | ||
10 | fi | ||
11 | done < fork_rand.txt | ||