diff options
author | Lorry <lorry@roadtrain.codethink.co.uk> | 2012-01-17 15:29:11 +0000 |
---|---|---|
committer | Lorry <lorry@roadtrain.codethink.co.uk> | 2012-01-17 15:29:11 +0000 |
commit | 4ca63c0cf0f37ab550bcca8b36f67f631cf1f8d0 (patch) | |
tree | e055aa1329452dceeafd63de121a048a08a2eb7f /install-info/tests/ii-0044-test | |
download | texinfo-tarball-4ca63c0cf0f37ab550bcca8b36f67f631cf1f8d0.tar.gz |
Tarball conversion
Diffstat (limited to 'install-info/tests/ii-0044-test')
-rwxr-xr-x | install-info/tests/ii-0044-test | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/install-info/tests/ii-0044-test b/install-info/tests/ii-0044-test new file mode 100755 index 0000000..900dc33 --- /dev/null +++ b/install-info/tests/ii-0044-test @@ -0,0 +1,28 @@ +#!/bin/sh +# This file is free software; as a special exception the author gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +. ./defs || exit 1 + +outputdirfile=`mktemp ii44-XXXXXXXX` +cp ${testdir}/ii-0044-input-dir-file $outputdirfile +if [ "x$?" != "x0" ]; then + exit 1 +fi + +${install_info} --remove ${testdir}/ii-0044-input-info-file $outputdirfile +retval=$? +if [ "x$retval" != "x0" ]; then + exit $retval +fi + +diff ${testdir}/ii-0044-expected-dir-file $outputdirfile +retval=$? + +rm -f $outputdirfile +exit $retval |