mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
Add test for syslinux converter
This commit is contained in:
1 parent
e29af836d0
commit
d3d2e54911
14 files changed
+411
No files matched your search
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
outfile="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 1
|
||||
|
||||
"@builddir@/grub-syslinux2cfg" -r "@srcdir@/tests/syslinux/ubuntu10.04" "@srcdir@/tests/syslinux/ubuntu10.04/isolinux/isolinux.cfg" -o "$outfile"
|
||||
|
||||
echo "$outfile"
|
||||
|
||||
if ! diff -u "$outfile" "@srcdir@/tests/syslinux/ubuntu10.04_grub.cfg"; then
|
||||
echo "Mismatch in ubuntu10.04"
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Reference in new issue
Block a user