From d7a057ed298453b04b1f66884b7c91c1fbdab0fa Mon Sep 17 00:00:00 2001 From: Avery Pennarun Date: Thu, 20 Dec 2018 04:46:10 +0000 Subject: [PATCH] shelltest: add reference URLs for some "set -e" behaviour. --- t/shelltest.od | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/t/shelltest.od b/t/shelltest.od index 259335e..ca13a6a 100644 --- a/t/shelltest.od +++ b/t/shelltest.od @@ -359,7 +359,10 @@ set +e ) || fail 89b # Check whether "." scripts inherit "set -e" setting *and* the outer "||" -# context. +# context. This doesn't seem to be explicitly specified by POSIX. +# References: +# http://www.austingroupbugs.net/view.php?id=52 +# https://www.in-ulm.de/~mascheck/various/set-e/ set +e ( set -e