ii-0052-test 928 B

12345678910111213141516171819202122232425262728293031
  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 ii52-XXXXXXXX`
  11. cp ${testdir}/ii-0052-input-dir-file $outputdirfile
  12. if [ "x$?" != "x0" ]; then
  13. exit 1
  14. fi
  15. # Allow periods in the node name too, e.g., "config.status Invocation".
  16. # Report from Ulrich Mueller, 7 May 2008 01:56:38.
  17. ${install_info} ${testdir}/ii-0052-input-info-file $outputdirfile
  18. retval=$?
  19. if [ "x$retval" != "x0" ]; then
  20. exit $retval
  21. fi
  22. diff ${testdir}/ii-0052-expected-dir-file $outputdirfile
  23. retval=$?
  24. rm -f $outputdirfile
  25. exit $retval