ii-0057-test 805 B

12345678910111213141516171819202122232425262728
  1. #!/bin/sh -x
  2. # This file is free software; as a special exception the author gives
  3. # unlimited permission to copy and/or distribute it, with or without
  4. # modifications, as long as this notice is preserved.
  5. #
  6. # This program is distributed in the hope that it will be useful, but
  7. # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
  8. # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  9. . ./defs || exit 1
  10. # test of --maxwidth.
  11. testnum=0057
  12. outputdirfile=`mktemp ii$testnum-XXXXXXXX`
  13. cp ${testdir}/ii-$testnum-input-dir-file $outputdirfile || exit 1
  14. ${install_info} \
  15. --maxwidth=50 \
  16. ${testdir}/ii-$testnum-input-info-file $outputdirfile \
  17. || exit $?
  18. diff ${testdir}/ii-$testnum-expected-dir-file $outputdirfile
  19. retval=$?
  20. rm -f $outputdirfile
  21. exit $retval