Re: [PATCH v2 2/3] test-lib-functions: optionally keep HOME, TERM and SHELL in 'test_pause'
Hi Elijah,
Le 2021-08-28 à 03:27, Elijah Newren a écrit :
Show 22 quoted lines
> On Fri, Aug 27, 2021 at 5:47 PM Philippe Blain via GitGitGadget
> <gitgitgadget@gmail.com> wrote:
>> +#
>> +# Usage: test_pause [options]
>> +# -t
>> +# Use your original TERM instead of test-lib.sh's "dumb".
>> +# This usually restores color output in the invoked shell.
>> +# WARNING: this can break test reproducibility.
>> +# -s
>> +# Invoke $SHELL instead of $TEST_SHELL_PATH
>> +# WARNING: this can break test reproducibility.
>> +# -h
>> +# Use your original HOME instead of test-lib.sh's "$TRASH_DIRECTORY".
>> +# This allows you to use your regular shell environment and Git aliases.
>> +# WARNING: this can break test reproducibility.
>> +# CAUTION: this can overwrite files in your HOME.
>
> Do you want to add an option that implies the other three, so that
> folks can do something like `test_pause -a` (or some other single
> letter) rather than `test_pause -t -s -h`?
>
>>
Yes, that would be even better. I'll add that for next version.
Thanks,
Philippe.