summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2015-11-30 07:06:56 +0100
committerPavel Raiskup <praiskup@redhat.com>2015-11-30 07:11:10 +0100
commitae816aced1e09adaf38a8d938f226db1cc27e79c (patch)
treefa81ca9708ff09ec50c7860fc8d38c3fa4e9240a
parentd15b321427c8b7dca0347ac56525cb64bde07ddc (diff)
downloadlibtool-ae816aced1e09adaf38a8d938f226db1cc27e79c.tar.gz
gl-tests: make the failure more readable
* gl/tests/test-funclib-quote.sh (_compare_or_error): Put $1 into error output, not having it like that was my mistake.
-rwxr-xr-xgl/tests/test-funclib-quote.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gl/tests/test-funclib-quote.sh b/gl/tests/test-funclib-quote.sh
index 7669a44b..60be1523 100755
--- a/gl/tests/test-funclib-quote.sh
+++ b/gl/tests/test-funclib-quote.sh
@@ -25,7 +25,7 @@ all_shells_script=$0
_compare_or_error ()
{
- _G_msg="strings differ:
+ _G_msg="$1: strings differ:
a: $2
b: $3"
test "$2" = "$3" || all_shells_error "$_G_msg"