[Pkg-bazaar-commits] ./bzr/unstable r511: - add tests for files and directories with spaces in name
Martin Pool
mbp at sourcefrog.net
Fri Apr 10 08:19:31 UTC 2009
------------------------------------------------------------
revno: 511
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Mon 2005-05-16 15:28:10 +1000
message:
- add tests for files and directories with spaces in name
(currently failing)
modified:
testbzr
-------------- next part --------------
=== modified file 'testbzr'
--- a/testbzr 2005-05-16 04:04:01 +0000
+++ b/testbzr 2005-05-16 05:28:10 +0000
@@ -324,6 +324,19 @@
runcmd('bzr log')
runcmd('bzr log -v')
+
+
+
+ progress("file with spaces in name")
+ mkdir('sub directory')
+ file('sub directory/file with spaces ', 'wt').write('see how this works\n')
+ runcmd('bzr add .')
+ runcmd('bzr diff')
+ runcmd('bzr commit -m add-spaces')
+ runcmd('bzr check')
+
+
+
cd('..')
cd('..')
@@ -356,6 +369,8 @@
assert backtick('bzr unknowns') == ''
assert file('.bzrignore', 'rb').read() == '*.blah\ngarh\n'
+
+
progress("all tests passed!")
except Exception, e:
sys.stderr.write('*' * 50 + '\n'
More information about the Pkg-bazaar-commits
mailing list