eBPF-based security platform
testing: say why the guest stops when init left the images unmounted
Daniel Borkmann90a2e3c2cece
diff --git a/testing/vm/guest.sh b/testing/vm/guest.shindex e4ed8f36..ef194ab6 100755--- a/testing/vm/guest.sh+++ b/testing/vm/guest.sh@@ -449,8 +449,11 @@ if [[ "${TEST_VM_SUITE:-}" == register ]]; thenfi(cd "$BUNDLE/verity" && sha256sum -c manifest)-mountpoint -q /run/shirudo/runtime-mountpoint -q /run/shirudo/config+if ! mountpoint -q /run/shirudo/runtime ||+ ! mountpoint -q /run/shirudo/config; then+ log "the initrd did not mount the runtime and config images; its shirudo journal is above"+ exit 1+fiinstall -m 0755 "$BUNDLE/verity/shirudo-runtime" /usr/local/bin/shirudo-runtimeSHIRUDO_BIN=/usr/local/bin/shirudo-runtimefor unit in "${TARGET_UNITS[@]}"; do