mirror of
https://github.com/ostreedev/ostree.git
synced 2025-08-25 13:49:24 +03:00
Avoid race condition in case tests directory does not exist
Make sure the tests directory exists before symlinking files into it. Closes: #1703 Closes: #1704 Approved by: cgwalters
This commit is contained in:
@ -360,7 +360,8 @@ EXTRA_DIST += \
|
||||
$(NULL)
|
||||
|
||||
tests/libreaddir-rand.so: Makefile
|
||||
$(AM_V_GEN) ln -fns ../.libs/libreaddir-rand.so tests
|
||||
mkdir -p tests/
|
||||
$(AM_V_GEN) ln -fns ../.libs/libreaddir-rand.so tests/
|
||||
ALL_LOCAL_RULES += tests/libreaddir-rand.so
|
||||
CLEANFILES += tests/libreaddir-rand.so tests/ostree-symlink-stamp \
|
||||
tests/ostree-prepare-root-symlink-stamp tests/ostree-remount-symlink-stamp \
|
||||
|
Reference in New Issue
Block a user