changeset 49580:2af928d69e8e stable

tests: stop creating temporary files in TESTDIR
author Arseniy Alekseyev <aalekseyev@janestreet.com>
date Thu, 17 Nov 2022 16:31:52 +0000
parents d122c8fda5a0
children 7ddbb3623a07
files tests/test-status.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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