diff options
Diffstat (limited to 'test/librelib-test.sh')
-rw-r--r-- | test/librelib-test.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/librelib-test.sh b/test/librelib-test.sh index a74ce0a..24c4478 100644 --- a/test/librelib-test.sh +++ b/test/librelib-test.sh @@ -37,14 +37,16 @@ it_displays_usage_text() { empty $tmpdir/stderr } -# libremessages is executable +# Nothing in $(libdir) should be executable anymore (except that +# $(libexecdir)=$(libdir), and executable things go in there. But I +# digress, libremessages should not be executable anymore). it_finds_messages() { v1=$(librelib messages) v2=$(librelib libremessages) v3=$(librelib messages.sh) v4=$(librelib libremessages.sh) - [[ -x "$v1" ]] + [[ -r "$v1" && ! -x "$v1" ]] [[ "$v1" == "$v2" ]] [[ "$v1" == "$v3" ]] [[ "$v1" == "$v4" ]] |