From 8c218dc01b376e7a560d2b7fcbacca532b75fe4b Mon Sep 17 00:00:00 2001 From: nia Date: Sun, 24 May 2020 05:35:51 +0000 Subject: Import bmake- --- devel/bmake/files/unit-tests/varmisc.exp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'devel/bmake/files/unit-tests/varmisc.exp') 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 -- cgit v1.2.3