Display output when ATF test case is failing
authorSofian Brabez <sbz@FreeBSD.org>
Mon, 1 Jun 2020 14:04:55 +0000 (16:04 +0200)
committerSofian Brabez <sbz@FreeBSD.org>
Mon, 1 Jun 2020 14:57:56 +0000 (16:57 +0200)
tests/elfdbg_test.sh

index 5fd3a7a700530452811253b6590c15e2b5405d24..c1784949cc1c04485fda5cc54a6439ba16718bba 100755 (executable)
@@ -19,7 +19,7 @@ stripped_body()
     if [ "$out" == "$expected" ]; then
         atf_pass
     else
-        atf_fail "Wrong output w/o debug symbols"
+        atf_fail "Wrong output w/o debug symbols '$out'"
     fi
 }
 
@@ -43,7 +43,7 @@ not_stripped_body()
     if [ "$out" == "$expected" ]; then
         atf_pass
     else
-        atf_fail "Wrong output w/ debug symbols"
+        atf_fail "Wrong output w/ debug symbols '$out'"
     fi
 }