From d4080b4ffaf281693353f4028110540bdc6b210d Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani Date: Wed, 1 Nov 2023 00:55:21 +0000 Subject: [PATCH] test(gzip): add unit tests for gzip Signed-off-by: Ramkumar Chinchani --- test/gzip.bats | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 test/gzip.bats diff --git a/test/gzip.bats b/test/gzip.bats new file mode 100644 index 00000000..b124f3f1 --- /dev/null +++ b/test/gzip.bats @@ -0,0 +1,29 @@ +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 <