ii-0039-test 942 B

123456789101112131415161718192021222324252627282930
  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. outputdirfile=`mktemp ii39-XXXXXXXX`
  11. cp ${testdir}/ii-0039-input-dir-file $outputdirfile
  12. if [ "x$?" != "x0" ]; then
  13. exit 1
  14. fi
  15. ${install_info} --entry="* Gnu: (gnu). Wildebeest native to the African continent.
  16. (this item contains disputed material)." --no-indent ${testdir}/ii-0039-input-info-file $outputdirfile
  17. retval=$?
  18. if [ "x$retval" != "x0" ]; then
  19. exit $retval
  20. fi
  21. diff ${testdir}/ii-0039-expected-dir-file $outputdirfile
  22. retval=$?
  23. rm -f $outputdirfile
  24. exit $retval