X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fquery-test;h=a4d365e1fe5e9a9046fba14d3eb159d92ac569af;hb=86e786f4fb2faf7c9487a0bf4633371cbb57b759;hp=bb8febcbc94ae0b1859afee6f8014727f7f65443;hpb=7c1b83ba0d835daee12c275f7f333caea9838b67;p=bacula%2Fbacula diff --git a/regress/tests/query-test b/regress/tests/query-test index bb8febcbc9..a4d365e1fe 100755 --- a/regress/tests/query-test +++ b/regress/tests/query-test @@ -10,7 +10,7 @@ JobName=query scripts/cleanup scripts/copy-test-confs -echo "${cwd}/tmp/build" >/tmp/file-list +echo "${cwd}/tmp/build" >${cwd}/tmp/file-list mkdir ${cwd}/tmp/build cp -p ${cwd}/build/src/dird/*.c ${cwd}/tmp/build cd ${cwd}/tmp @@ -21,10 +21,10 @@ cd ${cwd} change_jobname CompressedTest $JobName start_test -cat <tmp/bconcmds +cat <${cwd}/tmp/bconcmds @output /dev/null messages -@$out tmp/log1.out +@$out ${cwd}/tmp/log1.out label storage=File volume=TestVolume001 label storage=File volume=TestVolume002 run job=$JobName yes @@ -40,10 +40,10 @@ stop_bacula echo "ficheriro1.txt" >${cwd}/tmp/build/ficheriro1.txt echo "ficheriro2.txt" >${cwd}/tmp/build/ficheriro2.txt -cat <tmp/bconcmds +cat <${cwd}/tmp/bconcmds @output /dev/null messages -@$out tmp/log1.out +@$out ${cwd}/tmp/log1.out @# Force differental on the second Volume update volume=TestVolume001 VolStatus=Used run level=differental job=$JobName yes @@ -57,10 +57,10 @@ check_for_zombie_jobs storage=File stop_bacula echo "ficheriro2.txt" >${cwd}/tmp/build/ficheriro2.txt -cat <tmp/bconcmds +cat <${cwd}/tmp/bconcmds @output /dev/null messages -@$out tmp/log1.out +@$out ${cwd}/tmp/log1.out run level=incremental job=$JobName yes wait messages @@ -97,7 +97,7 @@ query @# @# now do a restore @# -@$out tmp/log2.out +@$out ${cwd}/tmp/log2.out restore where=${cwd}/tmp/bacula-restores storage=File file=<${cwd}/tmp/restore-list yes wait @@ -113,7 +113,7 @@ stop_bacula # # Delete .c files because we will only restored the txt files # -rm -f tmp/build/*.c +rm -f ${cwd}/tmp/build/*.c check_two_logs check_restore_tmp_build_diff