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
1 changed files with 1 additions and 0 deletions

View File

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