]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/restore-seek-tape
Fix restore by file tests
[bacula/bacula] / regress / tests / restore-seek-tape
index fe3fe3c42b8bf6e6ce43b6e98f4a00fdaf0ec4dc..95a220c3f430c7b3f73d2e75236f7fdf78b0245c 100755 (executable)
@@ -9,7 +9,6 @@
 TestName="restore-seek-tape"
 JobName=restore-tape-seek
 . scripts/functions
-set_debug 0
 
 copy_tape_confs
 echo "${cwd}/tmp/build" >/tmp/file-list
@@ -25,7 +24,7 @@ done
 cd ${cwd}/tmp/build
 ls >../1
 cd ..
-sed s%\^%${cwd}/tmp/build/% 1 >restore-list
+sed s%\^%${cwd}/tmp/build/% 1 | sort | uniq >restore-list
 #
 # At this point restore-list contains the list
 #  of files we will restore