X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fetc-test-root;h=50a45f2cbf719fccbeb5e5b73b76118204add51a;hb=39d8bf14eaf8b5d536a0eba4156b06d8fb15b0e7;hp=2c5e24a1db17336cc0e57fd2e4ba9c462222a21b;hpb=f2d751f02f74eda51a548adb208076d9684a7df2;p=bacula%2Fbacula diff --git a/regress/tests/etc-test-root b/regress/tests/etc-test-root index 2c5e24a1db..50a45f2cbf 100755 --- a/regress/tests/etc-test-root +++ b/regress/tests/etc-test-root @@ -8,14 +8,14 @@ TestName="etc-test-root" scripts/cleanup scripts/copy-test-confs -echo "/etc" >/tmp/file-list +echo "/etc" >${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 TestVolume001 run job=NightlySave @@ -25,7 +25,7 @@ messages @# @# now do a restore @# -@output tmp/log2.out +@output ${cwd}/tmp/log2.out restore where=${cwd}/tmp/bacula-restores select unmark * mark * @@ -51,7 +51,7 @@ sort <${cwd}/tmp/1 >${cwd}/tmp/original sort <${cwd}/tmp/2 >${cwd}/tmp/restored rm -f ${cwd}/tmp/1 ${cwd}/tmp/2 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 " "