Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
16911:39d38f16a3f7 | 16912:6ef3107c661e |
---|---|
144 $ hg ci -qAm 'add dir/file' | 144 $ hg ci -qAm 'add dir/file' |
145 $ storemode=`python ../mode.py .hg/store` | 145 $ storemode=`python ../mode.py .hg/store` |
146 $ dirmode=`python ../mode.py .hg/store/data/dir` | 146 $ dirmode=`python ../mode.py .hg/store/data/dir` |
147 $ if [ "$storemode" != "$dirmode" ]; then | 147 $ if [ "$storemode" != "$dirmode" ]; then |
148 > echo "$storemode != $dirmode" | 148 > echo "$storemode != $dirmode" |
149 $ fi | 149 > fi |
150 $ cd .. | |
151 | |
152 $ cd .. # g-s dir |