top2 416 B

12345678910111213141516
  1. #!/bin/sh
  2. # $Id: top2,v 1.2 2010-12-04 00:05:54 karl Exp $
  3. # Public domain. Test that a bare top node does not crash with --html.
  4. unset TEXINFO_OUTPUT LANG LANGUAGE
  5. LC_ALL=POSIX; export LC_ALL
  6. : ${srcdir=.}
  7. # But this input file is erroneous, so throw away errors.
  8. ../makeinfo --no-split --force -o top2.html --html $srcdir/top2.txi 2>/dev/null
  9. test -s top2.html
  10. exit_status=$?
  11. rm -f top2.html
  12. exit $exit_status