16 lines
465 B
Plaintext
16 lines
465 B
Plaintext
|
# Check for simple one environment variable setting
|
||
|
#
|
||
|
# RUN: env A_FOO=999 %{python} print_environment.py \
|
||
|
# RUN: | FileCheck --check-prefix=CHECK-ENV-1 %s
|
||
|
#
|
||
|
# Check for multiple environment variable settings
|
||
|
#
|
||
|
# RUN: env A_FOO=1 B_BAR=2 C_OOF=3 %{python} print_environment.py \
|
||
|
# RUN: | FileCheck --check-prefix=CHECK-ENV-MULTIPLE %s
|
||
|
|
||
|
# CHECK-ENV-1: A_FOO = 999
|
||
|
|
||
|
# CHECK-ENV-MULTIPLE: A_FOO = 1
|
||
|
# CHECK-ENV-MULTIPLE: B_BAR = 2
|
||
|
# CHECK-ENV-MULTIPLE: C_OOF = 3
|