summaryrefslogtreecommitdiff
path: root/t/install-info-dir.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/install-info-dir.sh')
-rw-r--r--t/install-info-dir.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/t/install-info-dir.sh b/t/install-info-dir.sh
index b16824f42..46a70b949 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