summaryrefslogtreecommitdiff
path: root/test/librelib-test.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-06-03 21:04:22 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-05 20:01:07 -0600
commit949014bc2dec8757d4a01af1e1d3dc7f394fe9a5 (patch)
tree2eb84383e113524738c829c6df095307f4e84fcf /test/librelib-test.sh
parentef468d692bee233b37d7853098612c5b2d17423f (diff)
librelib: print to stderr if it can't find the library
Diffstat (limited to 'test/librelib-test.sh')
-rw-r--r--test/librelib-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/librelib-test.sh b/test/librelib-test.sh
index aeb9a8c..8cc2a65 100644
--- a/test/librelib-test.sh
+++ b/test/librelib-test.sh
@@ -67,6 +67,6 @@ it_fails_to_find_phony() {
librelib phony >$tmpdir/stdout 2>$tmpdir/stderr || ret=$?
[[ -z "$(cat $tmpdir/stdout)" ]]
- [[ -z "$(cat $tmpdir/stderr)" ]]
+ [[ -n "$(cat $tmpdir/stderr)" ]]
[[ $ret != 0 ]]
}