From: Kern Sibbald Date: Thu, 17 Sep 2009 13:59:48 +0000 (+0200) Subject: more mkdir -p changes X-Git-Tag: Release-7.0.0~2617^2~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a47d15cbcf6e8d54a7c9604b4e4ea897f7ee0056;p=bacula%2Fbacula more mkdir -p changes --- diff --git a/regress/tests/differential-test b/regress/tests/differential-test index 0a8ee55ad9..898147dfc2 100755 --- a/regress/tests/differential-test +++ b/regress/tests/differential-test @@ -10,7 +10,7 @@ JobName=differential scripts/cleanup scripts/copy-test-confs echo "${cwd}/tmp/build" >${cwd}/tmp/file-list -mkdir ${cwd}/tmp/build +mkdir -p ${cwd}/tmp/build cp -p ${cwd}/build/src/dird/*.c ${cwd}/tmp/build cd ${cwd}/tmp echo "${cwd}/tmp/build/ficheriro1.txt" >restore-list diff --git a/regress/tests/estimate-test b/regress/tests/estimate-test index 376230abfa..11fd10e7cd 100755 --- a/regress/tests/estimate-test +++ b/regress/tests/estimate-test @@ -22,7 +22,7 @@ sed -f ${outf} $tmp/1 >$scripts/bacula-dir.conf start_test rm -rf ${cwd}/build/src/test ${cwd}/build/po/test -mkdir ${cwd}/build/src/test +mkdir -p ${cwd}/build/src/test touch ${cwd}/build/src/test/test1 ${cwd}/build/src/test/test2 cat <$tmp/bconcmds diff --git a/regress/tests/exclude-dir-test b/regress/tests/exclude-dir-test index 8c9334adb7..ec7d858567 100755 --- a/regress/tests/exclude-dir-test +++ b/regress/tests/exclude-dir-test @@ -38,7 +38,7 @@ cp -f $tmp/1 $conf/bacula-dir.conf change_jobname CompressedTest $JobName start_test -mkdir ${cwd}/build/src/xxtestdir +mkdir -p ${cwd}/build/src/xxtestdir touch ${cwd}/build/src/xxtestdir/.nobkp cp ${cwd}/build/src/dird/*.c ${cwd}/build/src/xxtestdir diff --git a/regress/tests/query-test b/regress/tests/query-test index 1e0730960c..2a3868d0a4 100755 --- a/regress/tests/query-test +++ b/regress/tests/query-test @@ -11,7 +11,7 @@ JobName=query scripts/cleanup scripts/copy-test-confs echo "${cwd}/tmp/build" >${cwd}/tmp/file-list -mkdir ${cwd}/tmp/build +mkdir -p ${cwd}/tmp/build cp -p ${cwd}/build/src/dird/*.c ${cwd}/tmp/build cd ${cwd}/tmp echo "${cwd}/tmp/build/ficheriro1.txt" >restore-list