Files
libguestfs/tests/syslinux
Richard W.M. Jones 76c0a67d30 build: Add common CLEANFILES and DISTCLEANFILES to common-rules.mk.
By adding common CLEANFILES and DISTCLEANFILES variables to
common-rules.mk, we can remove these from most other Makefiles, and
also clean files more consistently.

Note that bin_PROGRAMS are already cleaned by 'make clean', so I
removed cases where these were unnecessarily added to CLEANFILES.
2016-08-25 16:54:34 +01:00
..
2015-10-05 15:43:35 +02:00

The tests in this directory simply run SYSLINUX/EXTLINUX (if
available) to make sure they work.

However if you want, you can also try booting the resultant guests,
although this is not part of the test.

  qemu-kvm -hda syslinux-guest.img
  qemu-kvm -hda extlinux-guest.img

Note that there is just a kernel, no operating system, inside these
guests so the Linux kernel is expected to panic once it tries to find
an init process to run.  (You could modify these tests to add an init
process if you wanted to).