From: Philippe Blain Date: Sat, 28 Aug 2021 14:50:28 GMT Subject: Re: [PATCH v2 2/3] test-lib-functions: optionally keep HOME, TERM and SHELL in 'test_pause' Message-ID: <46a845ee-f97b-6aed-1886-07b0ead63e58@gmail.com> In-Reply-To: Hi Elijah, Le 2021-08-28 à 03:27, Elijah Newren a écrit : > On Fri, Aug 27, 2021 at 5:47 PM Philippe Blain via GitGitGadget > 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.