summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2019-08-05 09:04:38 -0400
committerChet Ramey <chet.ramey@case.edu>2019-08-05 09:04:38 -0400
commit4c39fa08abaa7e9b23c1760a5a3be893cbd33aef (patch)
treecbce55c9aa1435c6976cd09872a334d590870022
parent1679cff94f916917472abe3d3a42c0c52d87238b (diff)
downloadbash-4c39fa08abaa7e9b23c1760a5a3be893cbd33aef.tar.gz
commit bash-20190802 snapshot
-rw-r--r--tests/trap.right4
-rw-r--r--tests/trap3.sub2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/trap.right b/tests/trap.right
index 41658293..e12d6186 100644
--- a/tests/trap.right
+++ b/tests/trap.right
@@ -76,8 +76,8 @@ ERRTRAP
1
+[7] echo 2
2
-+[8] echo 3
-+[8] cat
++[8] false
++[8] false
+[8] false
++[8] echo trap: 8
trap: 8
diff --git a/tests/trap3.sub b/tests/trap3.sub
index 0df44550..1490a76b 100644
--- a/tests/trap3.sub
+++ b/tests/trap3.sub
@@ -5,5 +5,5 @@ set -x
echo 1
echo 2
-echo 3 | cat | false
+false | false | false
echo 4