# Check and make sure preset environment variable were set in lit.cfg
#
# RUN: %{python} print_environment.py \
# RUN: | FileCheck --check-prefix=CHECK-ENV-PRESET %s
#
# Check single unset of environment variable
#
# RUN: env -u FOO %{python} print_environment.py \
# RUN: | FileCheck --check-prefix=CHECK-ENV-UNSET-1 %s
#
# Check multiple unsets of environment variables
#
# RUN: env -u FOO -u BAR %{python} print_environment.py \
# RUN: | 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