llvm-project/lldb/test/Shell/Process/TestEnvironment.test

11 lines
331 B
Plaintext

UNSUPPORTED: system-windows
UNSUPPORTED: lldb-repro
The double quotes around "BAR" ensure we don't match the command.
RUN: %clangxx_host -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