]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
gl-tests: make the failure more readable
authorPavel Raiskup <praiskup@redhat.com>
Mon, 30 Nov 2015 06:06:56 +0000 (07:06 +0100)
committerPavel Raiskup <praiskup@redhat.com>
Mon, 30 Nov 2015 06:11:10 +0000 (07:11 +0100)
* gl/tests/test-funclib-quote.sh (_compare_or_error): Put $1 into
error output, not having it like that was my mistake.

gl/tests/test-funclib-quote.sh

index 7669a44ba8e0d248b0df41d22f958e196c061765..60be1523ad656a42f09c86dd1e9892e6b884bee9 100755 (executable)
@@ -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"