mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
test/test-functions: add mkdir to import_initdir
This dir is created by create_empty_image_rootdir, as well as indirectly by some other functions, but it should be created by import_initdir so the newly-exported $initdir exists and can be used immediately without relying on other functions to create it.
This commit is contained in:
parent
0036ce06cb
commit
8c03df36fe
@ -941,6 +941,7 @@ import_testdir() {
|
||||
|
||||
import_initdir() {
|
||||
initdir=$TESTDIR/root
|
||||
mkdir -p $initdir
|
||||
export initdir
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user