2017-01-22 17:22:34 +00:00
|
|
|
#!@BUILD_SHEBANG@
|
2015-02-16 14:58:59 +00:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
outfile="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 1
|
|
|
|
|
2015-02-16 19:07:33 +00:00
|
|
|
"@builddir@/grub-syslinux2cfg" -r "@abs_top_srcdir@/tests/syslinux/ubuntu10.04" "@abs_top_srcdir@/tests/syslinux/ubuntu10.04/isolinux/isolinux.cfg" -o "$outfile"
|
2015-02-16 14:58:59 +00:00
|
|
|
|
|
|
|
echo "$outfile"
|
|
|
|
|
2015-02-16 19:07:33 +00:00
|
|
|
if ! diff -u "$outfile" "@builddir@/tests/syslinux/ubuntu10.04_grub.cfg"; then
|
2015-02-16 14:58:59 +00:00
|
|
|
echo "Mismatch in ubuntu10.04"
|
|
|
|
exit 1;
|
|
|
|
fi
|
|
|
|
|
|
|
|
exit 0
|