Skip to content

Commit f6ce8d2

Browse files
committed
advanced input validation test. migrating a valida image
1 parent 898f02c commit f6ce8d2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/parallax-cli-checks.bats

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,20 @@ load helpers.bash
8787
pull alpine:latest
8888
[ "$status" -eq 0 ]
8989

90-
# Now migration should pass
90+
run "$PODMAN_BINARY" \
91+
--root "$PODMAN_ROOT" \
92+
--runroot "$PODMAN_RUNROOT" \
93+
pull ubuntu:latest
94+
[ "$status" -eq 0 ]
95+
96+
# Now migration should pass check, and also complete a ubuntu migration
9197
run "$PARALLAX_BINARY" \
9298
--podmanRoot "$PODMAN_ROOT" \
9399
--roStoragePath "$RO_STORAGE" \
94100
--mksquashfsPath "$MKSQUASHFS_PATH" \
95101
--log-level info \
96102
--migrate \
97-
--image alpine:latest
103+
--image ubuntu:latest
98104

99105
[ "$status" -eq 0 ]
100106
[[ "$output" =~ "Migration successfully completed" ]]

0 commit comments

Comments
 (0)