diff 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
line wrap: on
line diff
--- a/tests/test-grep.t	Mon Jun 11 01:08:39 2012 +0200
+++ b/tests/test-grep.t	Mon Jun 11 01:38:32 2012 +0200
@@ -163,6 +163,8 @@
   color:3:-:red
   color:1:+:red
 
+  $ cd ..
+
   $ hg init a
   $ cd a
   $ cp "$TESTDIR/binfile.bin" .
@@ -170,3 +172,5 @@
   $ hg ci -m 'add binfile.bin'
   $ hg grep "MaCam" --all
   binfile.bin:0:+: Binary file matches
+
+  $ cd ..