check_common_fn.in: show command name when we hit an error
This commit is contained in:
@@ -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);
|
calloc(1, sizeof(iso9660_stat_t)+i_rr_fname+2);
|
||||||
if (!p_stat_new)
|
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;
|
return NULL;
|
||||||
}
|
}
|
||||||
memcpy(p_stat_new, p_stat, stat_len);
|
memcpy(p_stat_new, p_stat, stat_len);
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ check_result() {
|
|||||||
shift
|
shift
|
||||||
msg=$1
|
msg=$1
|
||||||
shift
|
shift
|
||||||
cmdline=$*
|
cmdline="$cmd $*"
|
||||||
if test $RC -ne 0 ; then
|
if test $RC -ne 0 ; then
|
||||||
if test $RC -ne $SKIP_TEST_EXITCODE ; then
|
if test $RC -ne $SKIP_TEST_EXITCODE ; then
|
||||||
echo "$0: $msg failed in comparing output."
|
echo "$0: $msg failed in comparing output."
|
||||||
|
|||||||
Reference in New Issue
Block a user