test-dispatch: drop test for missing working directory
hstuart reported problems when the local Python has been configured to do stuff
and crash before reaching the expected error handler.
--- a/tests/test-dispatch Mon Aug 23 22:16:56 2010 +0200
+++ b/tests/test-dispatch Mon Aug 23 22:32:36 2010 +0200
@@ -21,10 +21,6 @@
EOF
hg cat a
-echo '% working directory removed'
-sh -c "cd $dir && rm -rf a"
-hg --version 2>&1 | sed -e 's,\(abort:.*:\).*$,\1 ...,g'
-
echo '% no repo'
cd $dir
hg cat
--- a/tests/test-dispatch.out Mon Aug 23 22:16:56 2010 +0200
+++ b/tests/test-dispatch.out Mon Aug 23 22:32:36 2010 +0200
@@ -33,7 +33,5 @@
% [defaults]
a
a: No such file in rev 000000000000
-% working directory removed
-abort: error getting current working directory: ...
% no repo
abort: There is no Mercurial repository here (.hg not found)!