Skip to content
Snippets Groups Projects

tests: stop creating temporary files in TESTDIR

1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -982,7 +982,7 @@
$ mkdir another-subdir
$ touch another-subdir/something-else
$ cat > "$TESTDIR"/extra-hgignore <<EOF
$ cat > "$TESTTMP"/extra-hgignore <<EOF
> something-else
> EOF
@@ -986,7 +986,7 @@
> 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
Loading