Skip to content

Commit

Permalink
test: Add test to ensure aliased container won't launch with vm flag set
Browse files Browse the repository at this point in the history
Signed-off-by: Kadin Sayani <[email protected]>
  • Loading branch information
kadinsayani committed Sep 19, 2024
1 parent cddeb0a commit b781061
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/suites/basic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b781061

Please sign in to comment.