aboutsummaryrefslogtreecommitdiff
path: root/tests/pq_test.sh
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2014-11-20 08:46:02 -0600
committerBrent Cook <bcook@openbsd.org>2014-12-03 17:02:29 -0600
commit96bf8be098b434ec19146d5724b60179ae56e00a (patch)
treed711ef8bff8a7e6f8633dee953cb7565959b3e54 /tests/pq_test.sh
parent58fcd3c39c73d83eb9782a8ef935498b18b5ae73 (diff)
downloadportable-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-xtests/pq_test.sh6
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
2set -e 2set -e
3./pq_test | cmp $srcdir/pq_expected.txt - 3TEST=./pq_test
4if [ -e ./pq_test.exe ]; then
5 TEST=./pq_test.exe
6fi
7$TEST | diff -b $srcdir/pq_expected.txt -