From afe6d2347d804aedc4c81b41e52c1442b1e38b12 Mon Sep 17 00:00:00 2001 From: ReachableCEO Date: Thu, 29 Jan 2026 10:38:51 -0500 Subject: [PATCH] feat: add test:iso command to run.sh for VM testing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- run.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/run.sh b/run.sh index 990a170..d57c3f9 100755 --- a/run.sh +++ b/run.sh @@ -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 ;;