Mercurial > hg-stable
changeset 49571:e11760daee12 stable
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.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 14 Nov 2022 19:38:57 +0400 |
parents | 12efb17faee2 |
children | 88a8de821b5e |
files | tests/test-removeemptydirs.t |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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