reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
# Check for setting and removing one environment variable
#
# RUN: env A_FOO=999 -u FOO %{python} print_environment.py \
# RUN:   | FileCheck --check-prefix=CHECK-ENV-1 %s
#
# Check for setting/unsetting multiple environment variables
#
# RUN: env A_FOO=1 -u FOO B_BAR=2 -u BAR C_OOF=3 %{python} print_environment.py \
# RUN:   | FileCheck --check-prefix=CHECK-ENV-MULTIPLE %s

# CHECK-ENV-1: A_FOO = 999
# CHECK-ENV-1-NOT: FOO

# CHECK-ENV-MULTIPLE: A_FOO = 1
# CHECK-ENV-MULTIPLE-NOT: BAR
# CHECK-ENV-MULTIPLE: B_BAR = 2
# CHECK-ENV-MULTIPLE: C_OOF = 3
# CHECK-ENV-MULTIPLE-NOT: FOO