summaryrefslogtreecommitdiffstats
path: root/scratch/bash-3.1-postpatch/tests/cond.right
diff options
context:
space:
mode:
Diffstat (limited to 'scratch/bash-3.1-postpatch/tests/cond.right')
-rw-r--r--scratch/bash-3.1-postpatch/tests/cond.right37
1 files changed, 37 insertions, 0 deletions
diff --git a/scratch/bash-3.1-postpatch/tests/cond.right b/scratch/bash-3.1-postpatch/tests/cond.right
new file mode 100644
index 0000000..06f36a9
--- /dev/null
+++ b/scratch/bash-3.1-postpatch/tests/cond.right
@@ -0,0 +1,37 @@
+returns: 0
+returns: 0
+returns: 1
+returns: 0
+returns: 0
+returns: 0
+returns: 0
+returns: 0
+returns: 1
+returns: 0
+returns: 0
+returns: 1
+returns: 1
+returns: 1
+returns: 1
+returns: 0
+returns: 0
+returns: 0
+returns: 1
+returns: 0
+returns: 1
+returns: 0
+returns: 1
+returns: 1
+returns: 0
+./cond.tests: line 101: [[: 4+: syntax error: operand expected (error token is "+")
+returns: 1
+returns: 0
+returns: 0
+returns: 1
+returns: 0
+returns: 0
+returns: 1
+returns: 0
+ok
+ok 42
+ok 43