mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
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.
This commit is contained in:
parent
6cce2e2381
commit
397a11762e
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user