Skip to content

Commit

Permalink
test: fix the test
Browse files Browse the repository at this point in the history
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
  • Loading branch information
rchincha committed Mar 21, 2024
1 parent d7e60e1 commit c963f93
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/basic.bats
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,15 @@ l3:
mkdir -p /ccc/222/ab
mkdir -p /ddd/333/ab
EOF
mkdir -p .stacker/layer-bases
chmod 777 .stacker/layer-bases
image_copy oci:$BUSYBOX_OCI oci:.stacker/layer-bases/oci:busybox
umoci unpack --image .stacker/layer-bases/oci:busybox dest
tar caf .stacker/layer-bases/busybox.tar -C dest/rootfs .
rm -rf dest
# did we really download the image to the right place?
[ -f .stacker/layer-bases/busybox.tar ]

stacker build
umoci unpack --image oci:l3 l3

Expand Down

0 comments on commit c963f93

Please sign in to comment.