summaryrefslogtreecommitdiffstats
path: root/tests/posix2.right
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/posix2.right6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/posix2.right b/tests/posix2.right
new file mode 100644
index 0000000..40aea03
--- /dev/null
+++ b/tests/posix2.right
@@ -0,0 +1,6 @@
+Testing for POSIX.2 conformance
+./posix2.tests: eval: line 195: syntax error near unexpected token `esac'
+./posix2.tests: eval: line 195: `case esac in (esac) ;; *) echo "case esac test 3" ;; esac'
+./posix2.tests: eval: line 197: syntax error near unexpected token `)'
+./posix2.tests: eval: line 197: `case esac in esac) ;; *) echo "case esac test 4";; esac'
+All tests passed