X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=regress%2Ftests%2Fsparse-encrypt-test;h=865b739b49da841a6ab528cf4605870b4641a377;hb=3448d94ab63e631f378fa674240b98133c9a5d29;hp=a3c9a6fce02f347a16c35e6d7457631c689d4799;hpb=bd8ecdf39c8295aa23a4d9bfb52812ad05ffc14b;p=bacula%2Fbacula diff --git a/regress/tests/sparse-encrypt-test b/regress/tests/sparse-encrypt-test index a3c9a6fce0..865b739b49 100755 --- a/regress/tests/sparse-encrypt-test +++ b/regress/tests/sparse-encrypt-test @@ -5,11 +5,10 @@ TestName="sparse-encrypt-test" JobName=Crypto . scripts/functions -set_debug 0 scripts/cleanup scripts/copy-crypto-confs -echo "${cwd}/build" >/tmp/file-list +echo "${cwd}/build" >${cwd}/tmp/file-list cd ${cwd}/build/src/tools ./gigaslam if [ $? != 0 ]; then @@ -19,12 +18,13 @@ if [ $? != 0 ]; then fi cd ${cwd} +change_jobname SparseTest $JobName start_test -cat <tmp/bconcmds +cat <${cwd}/tmp/bconcmds @$out /dev/null messages -@$out tmp/log1.out +@$out ${cwd}/tmp/log1.out label storage=File volume=TestVolume001 setdebug level=10 fd run job=$JobName yes @@ -34,7 +34,7 @@ list volumes @# @# now do a restore @# -@$out tmp/log2.out +@$out ${cwd}/tmp/log2.out @# setdebug level=0 fd restore where=${cwd}/tmp/bacula-restores storage=File 5 @@ -67,4 +67,4 @@ check_two_logs check_restore_diff end_test rm -f ${cwd}/build/src/tools/gigaslam.gif -rm -r ${cwd}/build/gigaslam.gif +rm -f ${cwd}/build/gigaslam.gif