From: Alexander Larsson Date: Thu, 12 Oct 2023 08:18:36 +0000 (+0200) Subject: tests: Fix whiteout test X-Git-Tag: archive/raspbian/2023.7-3+rpi1^2~16^2^2~9^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=397a11762e87e5c6ecc272ce629a100c88458417;p=ostree.git 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. --- diff --git a/tests/basic-test.sh b/tests/basic-test.sh index e2a7d70c..7905e6ee 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/