tests/test-dispatch
branchstable
changeset 11772 423ece53380e
parent 11675 f92f8921a5cc
child 12028 21984c1c83d4
--- a/tests/test-dispatch	Mon Aug 09 15:31:56 2010 +0200
+++ b/tests/test-dispatch	Mon Aug 09 21:43:39 2010 +0200
@@ -22,8 +22,8 @@
 hg cat a
 
 echo '% working directory removed'
-rm -rf $dir/a
-hg --version
+sh -c "cd $dir && rm -rf a"
+hg --version 2>&1 | sed -e 's,\(abort:.*:\).*$,\1 ...,g'
 
 echo '% no repo'
 cd $dir