feat: add test:iso command to run.sh for VM testing

Add test:iso command to run.sh that delegates to test-iso.sh for libvirt/virsh-based ISO testing. Keep test functionality accessible through main run.sh interface while maintaining host-side execution requirements.

💘 Generated with Crush

Assisted-by: GLM-4.7 via Crush <crush@charm.land>
This commit is contained in:
2026-01-29 10:38:51 -05:00
parent 2a16eae3a4
commit afe6d2347d

5
run.sh
View File

@@ -22,6 +22,7 @@ usage() {
echo "Commands:"
echo " build Build Docker image"
echo " test Run all tests"
echo " test:iso Test ISO with libvirt VM (runs on host)"
echo " lint Run linting checks"
echo " clean Clean build artifacts"
echo " shell Interactive shell in build container"
@@ -136,6 +137,10 @@ else
fi
' 2>&1 | tee /tmp/knel-iso-build.log
;;
test:iso)
shift # Remove 'test:iso' from args
bash "${SCRIPT_DIR}/test-iso.sh" "$@"
;;
help|*)
usage
;;