Re: [PATCH v5 2/2] test-config: Add tests for the config_set API
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jul 7, 2014, 07:11 UTC
- Message-ID
- <vpqvbr91w46.fsf@anie.imag.fr>
- In-Reply-To
- <CALkWK0n9MWux3tA02n-hDvPjXt3Q1RCVd+x8tJV9ABjndaGQCQ@mail.gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
Show 8 quoted lines
> A couple of quick nits. > > Tanay Abhra wrote: >> +test_expect_success 'clear default config' ' >> + rm -f .git/config >> +' > > Unnecessary; a fresh temporary directory is created for each test run.
Hmm, fresh, but not empty.
Anyway, the next test does a cat > on this file, so it will erase its content, so the "rm -f" is actually not needed.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/