aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMoustaphaSaad <moustapha.saad.abdelhamed@gmail.com>2024-05-31 19:05:02 +0300
committerTheo Buehler <tb@openbsd.org>2024-06-19 14:06:09 +0200
commit46bcf38a5841ab32ce9a87ff9ef3df86bcaf8cab (patch)
tree6f253c26fbd8143309e3bef7b1e57c50aea8fd9f /tests
parent7d35c4c3f1447c6b6adf817e130eefd1e5ff96ec (diff)
downloadportable-46bcf38a5841ab32ce9a87ff9ef3df86bcaf8cab.tar.gz
portable-46bcf38a5841ab32ce9a87ff9ef3df86bcaf8cab.tar.bz2
portable-46bcf38a5841ab32ce9a87ff9ef3df86bcaf8cab.zip
fix pq_test
changed the pq_test.sh to search to .js file as well
Diffstat (limited to 'tests')
-rwxr-xr-xtests/pq_test.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pq_test.sh b/tests/pq_test.sh
index ab87bc7..eab6f3c 100755
--- a/tests/pq_test.sh
+++ b/tests/pq_test.sh
@@ -3,5 +3,7 @@ set -e
3TEST=./pq_test 3TEST=./pq_test
4if [ -e ./pq_test.exe ]; then 4if [ -e ./pq_test.exe ]; then
5 TEST=./pq_test.exe 5 TEST=./pq_test.exe
6elif [ -e ./pq_test.js ]; then
7 TEST="node ./pq_test.js"
6fi 8fi
7$TEST | diff -b $srcdir/pq_expected.txt - 9$TEST | diff -b $srcdir/pq_expected.txt -