File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -301,6 +301,7 @@ if [ "${1:-"all"}" != "cluster" ]; then
301
301
run_test test_image_import_dir " import image from directory"
302
302
run_test test_image_import_with_reuse " import image with reuse flag"
303
303
run_test test_image_refresh " image refresh"
304
+ run_test test_image_split " image split"
304
305
run_test test_image_acl " image acl"
305
306
run_test test_cloud_init " cloud-init"
306
307
run_test test_exec " exec"
Original file line number Diff line number Diff line change @@ -201,3 +201,16 @@ test_image_refresh() {
201
201
incus remote rm l2
202
202
kill_incus " ${INCUS2_DIR} "
203
203
}
204
+
205
+ test_image_split () {
206
+ ensure_import_testimage
207
+ incus init testimage c
208
+ incus publish c --alias splitimage --split
209
+ incus delete c
210
+ incus image export splitimage splitimage.file
211
+ incus image delete splitimage
212
+ incus image import splitimage.file splitimage.file.root --alias splitimage
213
+ incus init splitimage c
214
+ incus delete c
215
+ incus image delete splitimage
216
+ }
You can’t perform that action at this time.
0 commit comments