]> 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 72c81b8f8f4f25c42d311677852b11611cd70b73..95a220c3f430c7b3f73d2e75236f7fdf78b0245c 100755 (executable)
@@ -24,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