From b781061f4bc4bfa3b271a8ffe1bcf5927343276f Mon Sep 17 00:00:00 2001 From: Kadin Sayani Date: Thu, 19 Sep 2024 14:27:06 -0600 Subject: [PATCH] test: Add test to ensure aliased container won't launch with vm flag set Signed-off-by: Kadin Sayani --- test/suites/basic.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/suites/basic.sh b/test/suites/basic.sh index 5f28fb5b1783..165cf3215dcf 100644 --- a/test/suites/basic.sh +++ b/test/suites/basic.sh @@ -13,6 +13,10 @@ test_basic_usage() { # Test an alias with slashes lxc image show "${sum}" lxc image alias create a/b/ "${sum}" + + # Ensure aliased image won't launch with vm flag set + ! lxc launch a/b/ --vm || false + lxc image alias delete a/b/ # Test alias list filtering