t2sde/tests/982-install-minimal-xorg.cmd
René Rebe 307cadbae9 * imported unit tests from int repo
git-svn-id: https://svn.exactcode.de/t2/trunk@69305 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
2024-06-04 14:42:09 +00:00

18 lines
349 B
Batchfile

#!/bin/sh
source ${0%/*}/qemu.in
[ "$isoboot" ] || exit 43
# only thru kvm for performance reasons
[ "${qemuargs/--enable-kvm/}" = "$qemuargs" ] && exit 42
cd $SYSROOT
hda=/tmp/$$.hda
qemu-img create $hda -f qcow2 10G
expect -f ${0%.cmd}.exp $QEMUSYS $qemuargs -m $normmem ${extstorage}$ISO $isoboot ${intstorage}$hda
ret=$?
rm -f $hda
exit $?