File: makerestoretest3

package info (click to toggle)
rdiff-backup 2.2.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,640 kB
  • sloc: python: 24,129; javascript: 9,512; sh: 1,230; ansic: 580; makefile: 36
file content (12 lines) | stat: -rwxr-xr-x 358 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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.

OLDTESTDIR=$(dirname $0)/../../rdiff-backup_testfiles
rm -rvf ${OLDTESTDIR}/restoretest3
for i in 1 2 3 4
do
	rdiff-backup --current-time $((i * 10000)) \
		${OLDTESTDIR}/increment${i} ${OLDTESTDIR}/restoretest3
done