tests: stop creating temporary files in TESTDIR stable
authorArseniy Alekseyev <aalekseyev@janestreet.com>
Thu, 17 Nov 2022 16:31:52 +0000
branchstable
changeset 49616 2af928d69e8e
parent 49607 d122c8fda5a0
child 49617 7ddbb3623a07
tests: stop creating temporary files in TESTDIR
tests/test-status.t
--- a/tests/test-status.t	Tue Nov 08 18:05:19 2022 -0500
+++ b/tests/test-status.t	Thu Nov 17 16:31:52 2022 +0000
@@ -982,11 +982,11 @@
   $ mkdir another-subdir
   $ touch another-subdir/something-else
 
-  $ cat > "$TESTDIR"/extra-hgignore <<EOF
+  $ cat > "$TESTTMP"/extra-hgignore <<EOF
   > something-else
   > EOF
 
-  $ hg status --config ui.ignore.global="$TESTDIR"/extra-hgignore
+  $ hg status --config ui.ignore.global="$TESTTMP"/extra-hgignore
   $ hg debugdirstate --all --no-dates | grep '^ '
       0         -1 set                 subdir