X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fdev-test-root;h=0d005e56b7f0a21d970504406586f00152e9288f;hb=7d5eacc922052324417c82382d6a18e8054245e8;hp=66728d646b30075fcf3b70dbbb0d76c67801617e;hpb=f2d751f02f74eda51a548adb208076d9684a7df2;p=bacula%2Fbacula diff --git a/regress/tests/dev-test-root b/regress/tests/dev-test-root index 66728d646b..0d005e56b7 100755 --- a/regress/tests/dev-test-root +++ b/regress/tests/dev-test-root @@ -11,14 +11,14 @@ require_root scripts/cleanup scripts/copy-test-confs -echo "/dev" >/tmp/file-list +echo "/dev" >${cwd}/tmp/file-list start_test -cat <tmp/bconcmds +cat <${cwd}/tmp/bconcmds @output /dev/null messages -@output tmp/log1.out +@output ${cwd}/tmp/log1.out label storage=File volume=TestVolume001 run job=NightlySave yes wait @@ -26,7 +26,7 @@ messages @# @# now do a restore @# -@output tmp/log2.out +@output ${cwd}/tmp/log2.out restore where=${cwd}/tmp/bacula-restores select all done yes wait @@ -65,7 +65,7 @@ sed -f sed.scr 1 | sort >restored rm -f sed.scr # cd ${cwd} -diff tmp/original tmp/restored 2>&1 1>/dev/null +diff ${cwd}/tmp/original ${cwd}/tmp/restored 2>&1 1>/dev/null if [ $? != 0 ] ; then echo " " echo " "