summaryrefslogtreecommitdiff
path: root/tests/test-clone-pull-corruption.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-clone-pull-corruption.t')
-rw-r--r--tests/test-clone-pull-corruption.t6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test-clone-pull-corruption.t b/tests/test-clone-pull-corruption.t
index b92269c..2d0ba9b 100644
--- a/tests/test-clone-pull-corruption.t
+++ b/tests/test-clone-pull-corruption.t
@@ -15,8 +15,8 @@ Create two repos, so that one of them can pull from the other one.
Add a hook to wait 5 seconds and then abort the commit
$ cd ../corrupted
- $ echo "[hooks]" >> .hg/hgrc
- $ echo "pretxncommit = sh -c 'sleep 5; exit 1'" >> .hg/hgrc
+ $ echo '[hooks]' >> .hg/hgrc
+ $ echo 'pretxncommit = sleep 5; exit 1' >> .hg/hgrc
start a commit...
@@ -48,5 +48,3 @@ see what happened
crosschecking files in changesets and manifests
checking files
1 files, 2 changesets, 2 total revisions
-
- $ cd ..