From d6b28a3770cecb34563f5e60e76c42ea0fc3c0da Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Tue, 26 Nov 2024 08:50:09 -0500 Subject: [PATCH] tests/storage-vm: early abort Signed-off-by: Simon Deziel --- tests/storage-vm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/storage-vm b/tests/storage-vm index ca3e9983..6ca05db6 100755 --- a/tests/storage-vm +++ b/tests/storage-vm @@ -170,6 +170,9 @@ for poolDriver in $poolDriverList; do waitInstanceReady v1 [ "$(lxc exec v1 -- cat /root/foo.txt)" = "foo" ] + echo "FAILING early" + exit 1 + echo "==> Checking VM filesystem volume was restored too" nsenter --mount=/run/snapd/ns/lxd.mnt [ -f "/var/snap/lxd/common/lxd/storage-pools/${poolName}/virtual-machines/v1/foo" ]