view lldb/test/Shell/Process/TestEnvironment.test @ 236:c4bab56944e8 llvm-original

LLVM 16
author kono
date Wed, 09 Nov 2022 17:45:10 +0900
parents 1d019706d866
children
line wrap: on
line source

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