]> granicus.if.org Git - llvm/commit
[llvm] [lit/tests] Replace 'env -u' with more portable construct
authorMichal Gorny <mgorny@gentoo.org>
Fri, 26 Jul 2019 15:39:05 +0000 (15:39 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Fri, 26 Jul 2019 15:39:05 +0000 (15:39 +0000)
commit6c33c8991a6740ed8c87d5d3980a6469b415628d
treed7e6e6494887282d604654cca03eb413b55acca8
parentdf48437acd35bef8d38a8a4a021e2e215639f89e
[llvm] [lit/tests] Replace 'env -u' with more portable construct

Set environment variables to empty values rather than attempting
to unset them via 'env -u', in order to fix NetBSD test regression
caused by r366980.  POSIX does not guarantee that env(1) supports '-u'
option, and indeed NetBSD env(1) does not support it.

Differential Revision: https://reviews.llvm.org/D65335

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367123 91177308-0d34-0410-b5e6-96231b3b80d8
utils/lit/tests/lit.cfg