Thread (32 messages) flat view 32 messages, 7 authors, 2021-09-07

Re: [PATCH v2 2/3] test-lib-functions: optionally keep HOME, TERM and SHELL in 'test_pause'

From: Philippe Blain <hidden>
Date: 2021-08-28 14:52:37

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
[off-list ref] wrote:
quoted
+#
+# 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`?
quoted
Yes, that would be even better. I'll add that for next version.

Thanks,

Philippe.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help