>From 20bcc91242f89bc7c14385209be19a9336bf7471 Mon Sep 17 00:00:00 2001 Message-Id: In-Reply-To: References: From: Stefano Lattarini Date: Mon, 23 Dec 2013 19:56:55 +0100 Subject: [PATCH 2/2] tests: make install-info-dir.sh print more debugging info With the hope that this will shed more light on bug#14601 Signed-off-by: Stefano Lattarini --- t/install-info-dir.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/t/install-info-dir.sh b/t/install-info-dir.sh index b16824f..46a70b9 100644 --- a/t/install-info-dir.sh +++ b/t/install-info-dir.sh @@ -87,18 +87,19 @@ if test $have_installinfo = yes; then $MAKE install-info test -f $instdir/info/foo.info - test -f $instdir/info/dir + cat $instdir/info/dir $FGREP 'Does nothing at all, but has a nice name' $instdir/info/dir $MAKE uninstall test ! -e $instdir/info/foo.info + cat $instdir/info/dir $FGREP 'but has a nice name' $instdir/info/dir && exit 1 dir="$destdir/$cwd/$instdir/info" $MAKE DESTDIR="$cwd/$destdir" install-info test -f "$dir"/foo.info - test -f "$dir"/dir + cat "$dir"/dir $FGREP 'Does nothing at all, but has a nice name' "$dir"/dir $MAKE DESTDIR="$cwd/$destdir" uninstall test ! -e "$dir"/foo.info @@ -141,10 +142,10 @@ if test $have_installinfo = yes; then END $MAKE install-info test -f $instdir/info/foo.info - test -f $instdir/info/dir + cat $instdir/info/dir $MAKE uninstall test ! -e $instdir/info/foo.info - test -f $instdir/info/dir + cat $instdir/info/dir $FGREP 'but has a nice name' $instdir/info/dir && exit 1 : For shells with busted 'set -e'. fi @@ -169,6 +170,7 @@ fi chmod a-w $instdir/info/dir for val in no NO n; do env AM_UPDATE_INFO_DIR="$val" $MAKE uninstall + cat $instdir/info/dir $FGREP 'Does nothing at all, but has a nice name' $instdir/info/dir done @@ -177,7 +179,7 @@ if test $have_installinfo = yes; then rm -rf $instdir env AM_UPDATE_INFO_DIR="$val" $MAKE install-info test -f $instdir/info/foo.info - test -f $instdir/info/dir + cat $instdir/info/dir env AM_UPDATE_INFO_DIR="$val" $MAKE uninstall test ! -e $instdir/info/foo.info $FGREP 'but has a nice name' $instdir/info/dir && exit 1 -- 1.8.5.rc0.23.gaa27064