summaryrefslogtreecommitdiff
path: root/rdiff-backup/testing/makerestoretest3
diff options
context:
space:
mode:
Diffstat (limited to 'rdiff-backup/testing/makerestoretest3')
-rwxr-xr-xrdiff-backup/testing/makerestoretest310
1 files changed, 10 insertions, 0 deletions
diff --git a/rdiff-backup/testing/makerestoretest3 b/rdiff-backup/testing/makerestoretest3
new file mode 100755
index 0000000..4b8da83
--- /dev/null
+++ b/rdiff-backup/testing/makerestoretest3
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# This script will create the testing/restoretest3 directory as it
+# needs to be for one of the tests in restoretest.py to work.
+
+rm -rf testfiles/restoretest3
+rdiff-backup --current-time 10000 testfiles/increment1 testfiles/restoretest3
+rdiff-backup --current-time 20000 testfiles/increment2 testfiles/restoretest3
+rdiff-backup --current-time 30000 testfiles/increment3 testfiles/restoretest3
+rdiff-backup --current-time 40000 testfiles/increment4 testfiles/restoretest3