# HG changeset patch # User Anton Shestakov # Date 2022-11-14 15:38:57 # Node ID e11760daee12910a512f3fef2a1fd5ba7a4f294a # Parent 12efb17faee2e9f9dbb91ff3c1bb1ab7a033a7dc tests: move some lines inside #if windows-#else block test-removeemptydirs.t This is done to make it's clear that windows is not affected by this test case, IOW windows and non-windows platforms are now tested separately, because their results are very different. diff --git a/tests/test-removeemptydirs.t b/tests/test-removeemptydirs.t --- a/tests/test-removeemptydirs.t +++ b/tests/test-removeemptydirs.t @@ -144,16 +144,19 @@ Windows is not affected #if windows $ "$PYTHON" "$TESTTMP/pwd.py" $TESTTMP/hghistedit/somedir + $ ls -A $TESTTMP/hghistedit/somedir + foo + $ ls -A + foo #else $ echo ${PWD} # no-pwd-check $TESTTMP/hghistedit/somedir $ "$PYTHON" "$TESTTMP/pwd.py" -#endif $ ls -A $TESTTMP/hghistedit/somedir foo $ ls -A - foo (windows !) +#endif Get out of the doomed directory