Skip to content

Commit

Permalink
test(gzip): add unit tests for gzip
Browse files Browse the repository at this point in the history
Signed-off-by: Ramkumar Chinchani <[email protected]>
  • Loading branch information
rchincha committed Nov 1, 2023
1 parent fb810cd commit def473f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions test/gzip.bats
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
load helpers

function setup() {
stacker_setup
}

function teardown() {
cleanup
}

@test "import tar" {
mkdir -p folder1
truncate -s 512k folder1/file1
tar cvf test.tar folder1
cat > stacker.yaml <<EOF
first:
from:
type: tar
url: test.tar
EOF
stacker build
}

0 comments on commit def473f

Please sign in to comment.