diff options
author | Brent Cook <busterb@gmail.com> | 2014-11-20 08:46:02 -0600 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2014-12-03 17:02:29 -0600 |
commit | 96bf8be098b434ec19146d5724b60179ae56e00a (patch) | |
tree | d711ef8bff8a7e6f8633dee953cb7565959b3e54 /tests/pq_test.sh | |
parent | 58fcd3c39c73d83eb9782a8ef935498b18b5ae73 (diff) | |
download | portable-96bf8be098b434ec19146d5724b60179ae56e00a.tar.gz portable-96bf8be098b434ec19146d5724b60179ae56e00a.tar.bz2 portable-96bf8be098b434ec19146d5724b60179ae56e00a.zip |
update and mask unit tests when running on win32
Update pq_test to ignore changes in whitespace.
Update for new testssl params, specify absolute paths to test binaries.
Fork-based tests do not make sense on Windows.
Disable building biotest, since it is too specific to OpenBSD's behavior
to be useful on other platforms.
Diffstat (limited to 'tests/pq_test.sh')
-rwxr-xr-x | tests/pq_test.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/pq_test.sh b/tests/pq_test.sh index b6b9f5e..ab87bc7 100755 --- a/tests/pq_test.sh +++ b/tests/pq_test.sh | |||
@@ -1,3 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | set -e | 2 | set -e |
3 | ./pq_test | cmp $srcdir/pq_expected.txt - | 3 | TEST=./pq_test |
4 | if [ -e ./pq_test.exe ]; then | ||
5 | TEST=./pq_test.exe | ||
6 | fi | ||
7 | $TEST | diff -b $srcdir/pq_expected.txt - | ||