48
48
"""add command prints the names of added files."""
49
49
tree = self.make_branch_and_tree('.')
50
50
self.build_tree(['top.txt', 'dir/', 'dir/sub.txt', 'CVS'])
52
52
out = self.run_bzr('add')[0]
53
53
# the ordering is not defined at the moment
54
54
results = sorted(out.rstrip('\n').split('\n'))
55
55
self.assertEqual(['adding .bzrignore',
60
60
out = self.run_bzr('add -v')[0]
61
61
results = sorted(out.rstrip('\n').split('\n'))
62
62
self.assertEqual(['ignored CVS matching "CVS"'],
65
65
def test_add_quiet_is(self):
66
66
"""add -q does not print the names of added files."""