--- a/tests/test-legacy-exit-code.t Fri Nov 18 13:52:18 2022 +0000
+++ b/tests/test-legacy-exit-code.t Fri Nov 18 13:47:29 2022 +0000
@@ -6,7 +6,8 @@
> detailed-exit-code=no
> EOF
- $ hg init
+ $ hg init repo
+ $ cd repo
$ echo a > a
Expect exit code 0 on success
$ hg ci -Aqm initial