check_common_fn.in: show command name when we hit an error

This commit is contained in:
R. Bernstein
2012-03-02 21:42:35 -05:00
parent 14ff96261c
commit a08e5931e0
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ check_result() {
shift
msg=$1
shift
cmdline=$*
cmdline="$cmd $*"
if test $RC -ne 0 ; then
if test $RC -ne $SKIP_TEST_EXITCODE ; then
echo "$0: $msg failed in comparing output."