diff --git a/tests/strace-S.test b/tests/strace-S.test index 0ffec303..c0e95498 100755 --- a/tests/strace-S.test +++ b/tests/strace-S.test @@ -18,8 +18,11 @@ test_c() [ -s "$OUT" ] || fail_ "$STRACE $args output mismatch" - LC_ALL=C sort -c $sortopts "$OUT" || + LC_ALL=C sort -c $sortopts "$OUT" || { + echo 'Actual output:' + cat < "$LOG" fail_ "$STRACE $args output not sorted properly" + } } c='[[:space:]]\+\([^[:space:]]\+\)'