From 397a11762e87e5c6ecc272ce629a100c88458417 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 12 Oct 2023 10:18:36 +0200 Subject: [PATCH] tests: Fix whiteout test This test was always skipped, because the check: if touch overlay/baz/.wh.cow && touch overlay/.wh.deeper && touch overlay/baz/another/.wh..wh..opq; then always fails due to the missing overlay/baz/another directory. Fix by creating the directory. --- tests/basic-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/basic-test.sh b/tests/basic-test.sh index e2a7d70c14..7905e6ee68 100644 --- a/tests/basic-test.sh +++ b/tests/basic-test.sh @@ -1126,7 +1126,7 @@ echo "ok test error pre commit/bootid" # Whiteouts cd ${test_tmpdir} -mkdir -p overlay/baz/ +mkdir -p overlay/baz/another/ if touch overlay/baz/.wh.cow && touch overlay/.wh.deeper && touch overlay/baz/another/.wh..wh..opq; then touch overlay/anewfile mkdir overlay/anewdir/