]> arthur.barton.de Git - bup.git/blob - t/tindex.py
cmd-save: completely reimplement using the indexfile.
[bup.git] / t / tindex.py
1 import os
2 import index
3 from wvtest import *
4
5 @wvtest
6 def testbasic():
7     cd = os.path.realpath('')
8     WVPASS(cd)
9     sd = os.path.realpath('t/sampledata')
10     WVPASSEQ(index.realpath('t/sampledata'), cd + '/t/sampledata')
11     WVPASSEQ(os.path.realpath('t/sampledata/x'), sd + '/x')
12     WVPASSEQ(os.path.realpath('t/sampledata/etc'), '/etc')
13     WVPASSEQ(index.realpath('t/sampledata/etc'), sd + '/etc')