# HG changeset patch # User Anton Shestakov # Date 1668440337 -14400 # 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 -r 12efb17faee2 -r e11760daee12 tests/test-removeemptydirs.t --- a/tests/test-removeemptydirs.t Mon Jun 20 12:53:08 2022 +0400 +++ b/tests/test-removeemptydirs.t Mon Nov 14 19:38:57 2022 +0400 @@ -144,16 +144,19 @@ #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