Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108083683
D26576.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
933 B
Referenced Files
None
Subscribers
None
D26576.diff
View Options
Index: contrib/bmake/unit-tests/Makefile
===================================================================
--- contrib/bmake/unit-tests/Makefile
+++ contrib/bmake/unit-tests/Makefile
@@ -150,7 +150,13 @@
TESTS+= envfirst
TESTS+= error
TESTS+= # escape # broken by reverting POSIX changes
+# Ubuntu's /bin/sh (dash) appears to remove all variables where the name
+# contains characters other than [_A-Za-z0-9]. Some tests depend on environment
+# variables containing a '-' so we have to skip those tests when using dash.
+HAVE_NON_STRICT_SHELL!=(env -i a-b=yes ${.SHELL} -c env | grep -c a-b) || echo 0
+.if ${HAVE_NON_STRICT_SHELL} != 0
TESTS+= export
+.endif
TESTS+= export-all
TESTS+= export-env
TESTS+= export-variants
@@ -160,7 +166,9 @@
TESTS+= impsrc
TESTS+= include-main
TESTS+= lint
+.if ${HAVE_NON_STRICT_SHELL} != 0
TESTS+= make-exported
+.endif
TESTS+= misc
TESTS+= moderrs
TESTS+= modmatch
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 22, 5:59 AM (5 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16025770
Default Alt Text
D26576.diff (933 B)
Attached To
Mode
D26576: Skip two bmake tests when using a strict POSIX shell
Attached
Detach File
Event Timeline
Log In to Comment