diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-04-14 19:38:07 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-04-14 17:56:53 -0700 |
commit | fdf1bc48caa008c7f285db3323498f25a7758879 (patch) | |
tree | 3af17c4e749659e778c8017d5353ceb1c77d4434 /builtin-checkout.c | |
parent | Documentation/config.txt: default gc.aggressiveWindow is 250, not 10 (diff) | |
download | tgif-fdf1bc48caa008c7f285db3323498f25a7758879.tar.xz |
t7006: guard cleanup with test_expect_success
Most of these tests are removing files, environment variables, and
configuration that might interfere outside the test. Putting these
clean-up commands in the test (in the same spirit as v1.7.1-rc0~59,
2010-03-20) means that errors during setup will be caught quickly and
non-error text will be suppressed without -v.
While at it, apply some other minor fixes:
- do not rely on the shell to export variables defined with the same
command as a function call
- avoid whitespace immediately after the > redirection operator, for
consistency with the style of other tests
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-checkout.c')
0 files changed, 0 insertions, 0 deletions