diff options
| author | MoustaphaSaad <moustapha.saad.abdelhamed@gmail.com> | 2024-05-31 19:05:02 +0300 |
|---|---|---|
| committer | Theo Buehler <tb@openbsd.org> | 2024-06-19 14:06:09 +0200 |
| commit | 46bcf38a5841ab32ce9a87ff9ef3df86bcaf8cab (patch) | |
| tree | 6f253c26fbd8143309e3bef7b1e57c50aea8fd9f | |
| parent | 7d35c4c3f1447c6b6adf817e130eefd1e5ff96ec (diff) | |
| download | portable-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
| -rwxr-xr-x | tests/pq_test.sh | 2 |
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 | |||
| 3 | TEST=./pq_test | 3 | TEST=./pq_test |
| 4 | if [ -e ./pq_test.exe ]; then | 4 | if [ -e ./pq_test.exe ]; then |
| 5 | TEST=./pq_test.exe | 5 | TEST=./pq_test.exe |
| 6 | elif [ -e ./pq_test.js ]; then | ||
| 7 | TEST="node ./pq_test.js" | ||
| 6 | fi | 8 | fi |
| 7 | $TEST | diff -b $srcdir/pq_expected.txt - | 9 | $TEST | diff -b $srcdir/pq_expected.txt - |
