summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2015-08-11 17:40:39 -0500
committerDavid Tolnay <dtolnay@gmail.com>2015-08-13 09:08:37 -0700
commitb119853aef1bd069047685cff4fb70a6c976db2e (patch)
treefcaf1645b8a58732cae0aede9cfcfe4d7621452c /tests
parent5d08d5463671fb00902e67b666a53334b81455ac (diff)
Test main.c fix for #817
Diffstat (limited to 'tests')
-rwxr-xr-xtests/shtest12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/shtest b/tests/shtest
index 70c384df..6e7690e4 100755
--- a/tests/shtest
+++ b/tests/shtest
@@ -190,4 +190,16 @@ if [ `HOME="$mods" $VALGRIND $Q $JQ --debug-dump-disasm -n fg | grep '^[a-z]' |
exit 1
fi
+cd "$JQBASEDIR" # so that relative library paths are guaranteed correct
+if ! $VALGRIND $Q $JQ -L ./tests/modules -ne 'import "test_bind_order" as check; check::check==true'; then
+ echo "Issue #817 regression?" 1>&2
+ exit 1
+fi
+
+cd "$JQBASEDIR"
+if ! $VALGRIND $Q $JQ -L tests/modules -ne 'import "test_bind_order" as check; check::check==true'; then
+ echo "Issue #817 regression?" 1>&2
+ exit 1
+fi
+
exit 0