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 20, 2024
1 parent d7e60e1 commit a2503e7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/basic.bats
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,12 @@ EOF
# /ccc is created in l2, removed and recreated in l3
# /ddd is created in l1, removed and recreated in l2, and extended in l3
cat > stacker.yaml <<"EOF"
busybox:
from:
type: oci
url: ${{BUSYBOX_OCI}}
run: |
touch /foo
l1:
from:
type: tar
Expand Down Expand Up @@ -351,7 +357,7 @@ l3:
mkdir -p /ccc/222/ab
mkdir -p /ddd/333/ab
EOF
stacker build
stacker build --substitute BUSYBOX_OCI=${BUSYBOX_OCI}
umoci unpack --image oci:l3 l3

# aaa/111 should be deleted, aaa/222 should exist
Expand Down

0 comments on commit a2503e7

Please sign in to comment.