From 10e0e23d55bbcd5bfcf937e411e661114a147601 Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani Date: Fri, 21 Jun 2024 20:10:48 +0000 Subject: [PATCH] test: add unit tests for whiteouts Signed-off-by: Ramkumar Chinchani --- test/whiteout.bats | 72 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 test/whiteout.bats diff --git a/test/whiteout.bats b/test/whiteout.bats new file mode 100644 index 00000000..831cf5e6 --- /dev/null +++ b/test/whiteout.bats @@ -0,0 +1,72 @@ +load helpers + +function setup() { + stacker_setup +} + +function teardown() { + cleanup +} + +@test "test not adding extraneous whiteouts" { + cat > stacker.yaml < stacker.yaml <