summaryrefslogtreecommitdiff
path: root/test/librelib-test.sh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-02-08 16:36:45 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-02-08 16:36:45 -0500
commit7e704d7ac997387341e920e1757c24cac0efe5e9 (patch)
treea9f30eabaaad5496397a91053d3e03bab1ea57e4 /test/librelib-test.sh
parent7785a72495e3eb0ea826b41720c241f58a15b601 (diff)
Refactor the build system. Avoid recursive make.
This looks like a lot, but more things should "just work". We have `make dist` now!
Diffstat (limited to 'test/librelib-test.sh')
-rw-r--r--test/librelib-test.sh6
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" ]]