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.
--- 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"
<directory is no longer accessible>
-#endif
$ ls -A $TESTTMP/hghistedit/somedir
foo
$ ls -A
- foo (windows !)
+#endif
Get out of the doomed directory