# HG changeset patch # User Anton Shestakov # Date 1655715188 -14400 # Node ID 12efb17faee2e9f9dbb91ff3c1bb1ab7a033a7dc # Parent 9e5b411b3b19ccfa416319598f9c19c9c025e7f2 tests: use ls -A instead of ls -1 in test-removeemptydirs.t In case the tests are run as root, ls assumes -A by default on some systems (e.g. NetBSD). Tests probably shouldn't be run as root, but let's use -A just in case, for convenience. diff -r 9e5b411b3b19 -r 12efb17faee2 tests/test-removeemptydirs.t --- a/tests/test-removeemptydirs.t Tue Nov 15 10:28:39 2022 +0100 +++ b/tests/test-removeemptydirs.t Mon Jun 20 12:53:08 2022 +0400 @@ -134,7 +134,8 @@ $ hg $DO_RM --config extensions.histedit= histedit -q --commands ../histedit_commands current directory was removed (no-windows !) (consider changing to repo root: $TESTTMP/hghistedit) (no-windows !) - $ ls -1 $TESTTMP/hghistedit/ + $ ls -A $TESTTMP/hghistedit/ + .hg histedit_commands r0 r1 @@ -149,9 +150,9 @@ $ "$PYTHON" "$TESTTMP/pwd.py" #endif - $ ls -1 $TESTTMP/hghistedit/somedir + $ ls -A $TESTTMP/hghistedit/somedir foo - $ ls -1 + $ ls -A foo (windows !) Get out of the doomed directory