Mercurial > hg
comparison tests/test-grep.t @ 16912:6ef3107c661e
tests: cleanup of tests that got lost in their own nested directories
Some tests ended up in a directory several directories deeper than $TESTTMP,
usually because some 'cd ..' had been forgotten between different test cases.
Add 'cd ..' where they are missing so the tests get back where they started.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 11 Jun 2012 01:38:32 +0200 |
parents | 4f795f5fbb0b |
children | 21c93988ca70 |
comparison
equal
deleted
inserted
replaced
16911:39d38f16a3f7 | 16912:6ef3107c661e |
---|---|
161 | 161 |
162 $ hg grep --all red | 162 $ hg grep --all red |
163 color:3:-:red | 163 color:3:-:red |
164 color:1:+:red | 164 color:1:+:red |
165 | 165 |
166 $ cd .. | |
167 | |
166 $ hg init a | 168 $ hg init a |
167 $ cd a | 169 $ cd a |
168 $ cp "$TESTDIR/binfile.bin" . | 170 $ cp "$TESTDIR/binfile.bin" . |
169 $ hg add binfile.bin | 171 $ hg add binfile.bin |
170 $ hg ci -m 'add binfile.bin' | 172 $ hg ci -m 'add binfile.bin' |
171 $ hg grep "MaCam" --all | 173 $ hg grep "MaCam" --all |
172 binfile.bin:0:+: Binary file matches | 174 binfile.bin:0:+: Binary file matches |
175 | |
176 $ cd .. |