summaryrefslogtreecommitdiff
path: root/tests/set-e.right
diff options
context:
space:
mode:
Diffstat (limited to 'tests/set-e.right')
-rw-r--r--tests/set-e.right39
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/set-e.right b/tests/set-e.right
index 6448413..85a5986 100644
--- a/tests/set-e.right
+++ b/tests/set-e.right
@@ -26,3 +26,42 @@ OR list succeeded
eval succeeded
! eval succeeded -- 1
! eval succeeded -- 2
+a
+0
+b
+0
+after 1
+a
+0
+non-posix foo
+after brace group failure: 1
+A 1
+B 0
+C 0
+D 0
+D 1
+A 1
+B 0
+C 0
+D 0
+D 1
+A 1
+B 0
+C 0
+A 1
+B 1
+C 0
+B 0
+C 0
+after negation 1: 0
+after negation 2: 0
+after negation 3: 1
+after negation 4: 0
+after brace pipeline
+foo
+after failure 1
+after failure 2
+after failure 3
+true || false no exit
+false || true no exit
+false && false no exit