From b084be63eef3f6f7c341cbba5565d963afc57a8a Mon Sep 17 00:00:00 2001 From: Phil de Joux Date: Sun, 7 Jan 2024 11:52:21 -0500 Subject: [PATCH] Use a .gitignore, local to the test. --- .gitignore | 6 ------ .../PackageTests/NewUpdate/RejectFutureIndexStates/.gitignore | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 cabal-testsuite/PackageTests/NewUpdate/RejectFutureIndexStates/.gitignore diff --git a/.gitignore b/.gitignore index 570be45d1..2486c4496 100644 --- a/.gitignore +++ b/.gitignore @@ -86,12 +86,6 @@ bench.html # Emacs .projectile -# Ignore cabal.out and cabal.out'' file of one test, generated by: -# shell "cp" ["cabal.out.in", "cabal.out"] -# shell "sed" ["-i''", "-e", "s/REPLACEME/" <> output <> "/g", "cabal.out"] -cabal-testsuite/PackageTests/NewUpdate/RejectFutureIndexStates/cabal.out -cabal-testsuite/PackageTests/NewUpdate/RejectFutureIndexStates/cabal.out'' - ## Release Scripts # ignore the downloaded binary files diff --git a/cabal-testsuite/PackageTests/NewUpdate/RejectFutureIndexStates/.gitignore b/cabal-testsuite/PackageTests/NewUpdate/RejectFutureIndexStates/.gitignore new file mode 100644 index 000000000..6a79f9c97 --- /dev/null +++ b/cabal-testsuite/PackageTests/NewUpdate/RejectFutureIndexStates/.gitignore @@ -0,0 +1,5 @@ +# Ignore cabal.out and cabal.out'' file, generated by: +# shell "cp" ["cabal.out.in", "cabal.out"] +# shell "sed" ["-i''", "-e", "s/REPLACEME/" <> output <> "/g", "cabal.out"] +cabal.out +cabal.out'' -- 2.11.4.GIT