[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)
commit40a10446c080c88176d2c6766736932cd1a48afa
tree4e166c9f90612b73c515d10207cd70e5a4bb28f5
parentffc722a3581775cf6c4bbedf1364434a932dc378
[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

llvm-svn: 367123
llvm/utils/lit/tests/lit.cfg