summaryrefslogtreecommitdiff
path: root/devel/bmake/files/unit-tests/varmisc.exp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bmake/files/unit-tests/varmisc.exp')
-rw-r--r--devel/bmake/files/unit-tests/varmisc.exp23
1 files changed, 23 insertions, 0 deletions
diff --git a/devel/bmake/files/unit-tests/varmisc.exp b/devel/bmake/files/unit-tests/varmisc.exp
index 1636aafc11e..ffe8f8b867c 100644
--- a/devel/bmake/files/unit-tests/varmisc.exp
+++ b/devel/bmake/files/unit-tests/varmisc.exp
@@ -1,2 +1,25 @@
+:D expanded when var set
+true
+TRUE
+:U expanded when var undef
+true
+TRUE
+:D skipped if var undef
+
+:U skipped when var set
+is set
+:? only lhs when value true
+true
+TRUE
+:? only rhs when value false
+false
+FALSE
+do not evaluate or expand :? if discarding
+is set
+year=2016 month=04 day=01
+date=20160401
+Version=123.456.789 == 123456789
+Literal=3.4.5 == 3004005
+We have target specific vars
exit status 0