#! @BUILD_SHEBANG@ # create a randome file empty="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 1 non_empty="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 1 cat >$non_empty <$outfile < /dev/null 2>&1; then echo "GRUB test command file tests failed." cat "$outfile" exit 1 else rm -f "${outfile}" exit 0 fi