~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to testbzr

  • Committer: Martin Pool
  • Date: 2005-05-11 08:07:56 UTC
  • Revision ID: mbp@sourcefrog.net-20050511080756-ce1fdb2d72f5e028
- more status form test fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
203
203
 
204
204
    progress("command aliases")
205
205
    out = backtick("bzr st --all")
206
 
    assert out == "?       test.txt\n"
 
206
    assert out == ("unknown:\n"
 
207
                   "  test.txt\n")
 
208
    
207
209
    out = backtick("bzr stat")
208
 
    assert out == "?       test.txt\n"
 
210
    assert out == ("unknown:\n"
 
211
                   "  test.txt\n")
209
212
 
210
213
    progress("command help")
211
214
    runcmd("bzr help st")
223
226
 
224
227
    runcmd("bzr add test.txt")
225
228
    assert backtick("bzr unknowns") == ''
226
 
    assert backtick("bzr status --all") == "A       test.txt\n"
 
229
    assert backtick("bzr status --all") == ("added:\n"
 
230
                                            "  test.txt\n")
227
231
 
228
232
    progress("rename newly-added file")
229
233
    runcmd("bzr rename test.txt hello.txt")