syslinux_test.in 403 B

1234567891011121314151617
  1. #!@BUILD_SHEBANG@
  2. set -e
  3. outfile="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 1
  4. "@builddir@/grub-syslinux2cfg" -r "@abs_top_srcdir@/tests/syslinux/ubuntu10.04" "@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/isolinux.cfg" -o "$outfile"
  5. echo "$outfile"
  6. if ! diff -u "$outfile" "@builddir@/tests/syslinux/ubuntu10.04_grub.cfg"; then
  7. echo "Mismatch in ubuntu10.04"
  8. exit 1;
  9. fi
  10. exit 0