~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_add.py

  • Committer: John Arbash Meinel
  • Date: 2006-07-03 13:48:52 UTC
  • mfrom: (1835 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1836.
  • Revision ID: john@arbash-meinel.com-20060703134852-295eeb195b8e2811
[merge] bzr.dev 1835

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
        """add command prints the names of added files."""
29
29
        self.runbzr('init')
30
30
        self.build_tree(['top.txt', 'dir/', 'dir/sub.txt', 'CVS'])
 
31
        self.build_tree_contents([('.bzrignore', 'CVS\n')])
31
32
        out = self.run_bzr_captured(['add'], retcode=0)[0]
32
33
        # the ordering is not defined at the moment
33
34
        results = sorted(out.rstrip('\n').split('\n'))
34
35
        self.assertEquals(['If you wish to add some of these files, please'\
35
36
                           ' add them by name.',
 
37
                           'added .bzrignore',
36
38
                           'added dir',
37
39
                           'added dir/sub.txt',
38
40
                           'added top.txt',