diff options
author | Nicolas Williams <nico@cryptonector.com> | 2015-08-11 17:40:39 -0500 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2015-08-13 09:18:44 -0700 |
commit | b60c9eb3e8410c5ca2528c2531431355b416f357 (patch) | |
tree | 765d3f6c2a0fce4f09ef38088232182a95ed01b4 | |
parent | 068300229b5498061bcca7892f4ba3a435b06bc6 (diff) |
Test main.c fix for #817
-rwxr-xr-x | tests/shtest | 12 |
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 |