94b2b58d99
This builds a boot.iso in the vm, copies it out, and boots it. The tests that run inside the boot.iso (/tests/lorax/test_boot_bootiso.sh) cannot use beakerlib so it needs to be a simple shell script returning 1 on failure along with a descriptive message.
18 lines
348 B
Bash
Executable File
18 lines
348 B
Bash
Executable File
#!/bin/bash
|
|
# Note: execute this file from inside the booted boot.iso
|
|
# We cannot use beakerlib because the boot.iso is missing some of the executables it depends on
|
|
#
|
|
|
|
#####
|
|
#
|
|
# Test a booted boot.iso
|
|
#
|
|
#####
|
|
|
|
set -e
|
|
|
|
if ! grep anaconda /root/lorax-packages.log; then
|
|
echo "ERROR: anaconda not included in boot.iso package list"
|
|
exit 1
|
|
fi
|