diff --git a/tests/test-dispatch.t b/tests/test-dispatch.t --- a/tests/test-dispatch.t +++ b/tests/test-dispatch.t @@ -68,8 +68,21 @@ $ mkdir $TESTTMP/repo1 $ cd $TESTTMP/repo1 $ rm -rf $TESTTMP/repo1 + +#endif + +#if rmcwd no-chg + $ HGDEMANDIMPORT=disable hg version -q abort: error getting current working directory: * (glob) [255] #endif + +#if rmcwd chg + + $ HGDEMANDIMPORT=disable hg version -q + chg: abort: failed to getcwd (errno = 2, No such file or directory) + [255] + +#endif