Show More
@@ -124,7 +124,9 b' def cwd(server):' | |||||
124 | """ check that --cwd doesn't persist between requests """ |
|
124 | """ check that --cwd doesn't persist between requests """ | |
125 | readchannel(server) |
|
125 | readchannel(server) | |
126 | os.mkdir('foo') |
|
126 | os.mkdir('foo') | |
127 |
open('foo/bar', 'w') |
|
127 | f = open('foo/bar', 'w') | |
|
128 | f.write('a') | |||
|
129 | f.close() | |||
128 | runcommand(server, ['--cwd', 'foo', 'st', 'bar']) |
|
130 | runcommand(server, ['--cwd', 'foo', 'st', 'bar']) | |
129 | runcommand(server, ['st', 'foo/bar']) |
|
131 | runcommand(server, ['st', 'foo/bar']) | |
130 | os.remove('foo/bar') |
|
132 | os.remove('foo/bar') |
General Comments 0
You need to be logged in to leave comments.
Login now