changeset 12028:21984c1c83d4 stable

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.
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 23 Aug 2010 22:32:36 +0200
parents 1938954354ec
children 84a09639d9f1
files tests/test-dispatch tests/test-dispatch.out
diffstat 2 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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)!