X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Flib-test-root;h=54da62c7d459c72119abcf6d8e2afbb9c562b47b;hb=25daee7d2a896f1da1f4ac8ffd8b1b57454d1943;hp=d50a5e067f14a017573fb2d5bd5e519636a75c6d;hpb=fa9e2719586d6f2f37a681463e2f09c9f9e1d3fc;p=bacula%2Fbacula diff --git a/regress/tests/lib-test-root b/regress/tests/lib-test-root index d50a5e067f..54da62c7d4 100755 --- a/regress/tests/lib-test-root +++ b/regress/tests/lib-test-root @@ -11,14 +11,14 @@ require_root scripts/cleanup scripts/copy-test-confs -echo "/lib" >/tmp/file-list +echo "/lib" >${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 @@ -28,7 +28,7 @@ messages @# @# now do a restore @# -@output tmp/log2.out +@output ${cwd}/tmp/log2.out restore where=${cwd}/tmp/bacula-restores select unmark * mark * @@ -59,7 +59,7 @@ sort <1 >restored rm -f 1 # 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 " "