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

@@ -775,7 +775,7 @@ _iso9660_dir_to_statbuf (iso9660_dir_t *p_iso9660_dir, bool_3way_t b_xa,
calloc(1, sizeof(iso9660_stat_t)+i_rr_fname+2);
if (!p_stat_new)
{
cdio_warn("Couldn't calloc(1, %zd)", sizeof(iso9660_stat_t)+i_rr_fname+2);
cdio_warn("Couldn't calloc(1, %d)", sizeof(iso9660_stat_t)+i_rr_fname+2);
return NULL;
}
memcpy(p_stat_new, p_stat, stat_len);

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."