1# Check for setting and removing one environment variable 2# 3# RUN: env A_FOO=999 -u FOO %{python} print_environment.py \ 4# RUN: | FileCheck --check-prefix=CHECK-ENV-1 %s 5# 6# Check for setting/unsetting multiple environment variables 7# 8# RUN: env A_FOO=1 -u FOO B_BAR=2 -u BAR C_OOF=3 %{python} print_environment.py \ 9# RUN: | FileCheck --check-prefix=CHECK-ENV-MULTIPLE %s 10 11# CHECK-ENV-1: A_FOO = 999 12# CHECK-ENV-1-NOT: FOO 13 14# CHECK-ENV-MULTIPLE: A_FOO = 1 15# CHECK-ENV-MULTIPLE-NOT: BAR 16# CHECK-ENV-MULTIPLE: B_BAR = 2 17# CHECK-ENV-MULTIPLE: C_OOF = 3 18# CHECK-ENV-MULTIPLE-NOT: FOO 19