~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to testbzr

  • Committer: Martin Pool
  • Date: 2005-05-03 12:37:47 UTC
  • Revision ID: mbp@sourcefrog.net-20050503123747-3b9bbc50a3542863
- more testcase fixes
- remove test.sh in favour of testbzr

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
    logfile.write('   at %s:%d\n' % stack[:2])
111
111
 
112
112
 
 
113
 
113
114
# prepare an empty scratch directory
114
115
if os.path.exists(TESTDIR):
115
116
    shutil.rmtree(TESTDIR)
207
208
 
208
209
    cd('sub1/sub2')
209
210
    runcmd('bzr move ../hello.txt .')
210
 
    assert exists('../hello.txt')
 
211
    assert exists('./hello.txt')
211
212
    runcmd(['bzr', 'commit', '-m', 'move to parent directory'])
212
213
    cd('..')
 
214
 
 
215
    runcmd('bzr move sub2/hello.txt .')
 
216
    assert exists('hello.txt')
 
217
    
213
218
    
214
219
    cd('..')
215
220