1
1
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:
Dan Streetman 2019-08-17 12:24:00 -04:00
parent 0036ce06cb
commit 8c03df36fe

View File

@ -941,6 +941,7 @@ import_testdir() {
import_initdir() {
initdir=$TESTDIR/root
mkdir -p $initdir
export initdir
}