aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/unit-tests/cond-short.exp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bmake/unit-tests/cond-short.exp')
-rw-r--r--contrib/bmake/unit-tests/cond-short.exp16
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/bmake/unit-tests/cond-short.exp b/contrib/bmake/unit-tests/cond-short.exp
new file mode 100644
index 000000000000..fdc38d98a8b7
--- /dev/null
+++ b/contrib/bmake/unit-tests/cond-short.exp
@@ -0,0 +1,16 @@
+expected and
+expected and exists
+expected and empty
+expected U23 condition
+expected VAR23
+expected M pattern
+expected or
+expected or exists
+expected or empty
+defined(V42) && 42 > 0: Ok
+defined(V66) && ( "" < 42 ): Ok
+1 || 42 < 42: Ok
+1 || < 42: Ok
+0 || 42 <= 42: Ok
+0 || < 42: Ok
+exit status 0