Files
clang-p2996/lldb/test/Shell/Process/TestEnvironment.test
Jonas Devlieghere 87aa9c9e4d Re-land "[test] Split LLDB tests into API, Shell & Unit"
The original patch got reverted because it broke `check-lldb` on a clean
build. This fixes that.

llvm-svn: 374201
2019-10-09 19:22:02 +00:00

10 lines
302 B
Plaintext

UNSUPPORTED: system-windows
The double quotes around "BAR" ensure we don't match the command.
RUN: %clangxx -std=c++11 %p/Inputs/env.cpp -o %t
RUN: %lldb %t -o 'process launch --environment FOO="BAR"' | FileCheck %s
RUN: %lldb %t -o 'env FOO="BAR"' -o 'process launch' | FileCheck %s
CHECK: FOO=BAR