summaryrefslogtreecommitdiff
path: root/rdiff-backup/CVS-README
blob: ecb0485dbbb5972d49b493ce59ec461a60a84072 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
CVS README - Notes for people checking out of CVS
-------------------------------------------------

Getting rdiff-backup to run:
----------------------------

If you want to run a version of rdiff-backup checked out of CVS into
your $RDB_ROOT directory, change to $RDB_ROOT/rdiff_backup and run the
./compilec.py file.  With any luck, _librsync.so and C.so libraries
will appear in that directory.  Then run rdiff-backup, making sure
that all the files are in your PYTHONPATH:

PYTHONPATH=$RDB_ROOT $RDB_ROOT/rdiff-backup


Running the unit tests:
-----------------------

If you want to try some of tests, you first have to get the
testfiles.tar.gz tarball.  It is available at

http://rdiff-backup.stanford.edu/testfiles.tar.gz

and untar it as root in the testing directory.  Root is required
because the tarball contains device files, files with various uid/gid,
etc.  If you don't have root, it's ok, all the tests except for
roottest.py may still work.

cd testing; tar -xvzf testfiles.tar.gz

Then run the various *test.py files, for instance:

cd testing; python lazytest.py

If python restoretest.py doesn't work, try running ./makerestoretest3.