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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
<gitgitgadget@xxxxxxxxx> 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.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux