## Tests env command for preset variables and handling single/multiple unsets.
## Check and make sure preset environment variable were set in lit.cfg.
#
# RUN: env | FileCheck --check-prefix=CHECK-ENV-PRESET %s
#
## Check single unset of environment variable.
#
# RUN: env -u FOO | FileCheck --check-prefix=CHECK-ENV-UNSET-1 %s
#
## Check multiple unsets of environment variables.
#
# RUN: env -u FOO -u BAR | FileCheck --check-prefix=CHECK-ENV-UNSET-MULTIPLE %s
# CHECK-ENV-PRESET: BAR = 2
# CHECK-ENV-PRESET: FOO = 1
# CHECK-ENV-UNSET-1: BAR = 2
# CHECK-ENV-UNSET-1-NOT: FOO
# CHECK-ENV-UNSET-MULTIPLE-NOT: BAR
# CHECK-ENV-UNSET-MULTIPLE-NOT: FOO