diff tests/test-inherit-mode.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 7cf8de5a82d8
children a55b06885cda
line wrap: on
line diff
--- a/tests/test-inherit-mode.t	Mon Jun 11 01:08:39 2012 +0200
+++ b/tests/test-inherit-mode.t	Mon Jun 11 01:38:32 2012 +0200
@@ -146,4 +146,7 @@
   $ dirmode=`python ../mode.py .hg/store/data/dir`
   $ if [ "$storemode" != "$dirmode" ]; then
   >  echo "$storemode != $dirmode"
-  $ fi
+  > fi
+  $ cd ..
+
+  $ cd .. # g-s dir