diff options
Diffstat (limited to 'lldb/test/Shell/Host/TestCustomShell.test')
-rw-r--r-- | lldb/test/Shell/Host/TestCustomShell.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lldb/test/Shell/Host/TestCustomShell.test b/lldb/test/Shell/Host/TestCustomShell.test new file mode 100644 index 00000000000..97511eb7948 --- /dev/null +++ b/lldb/test/Shell/Host/TestCustomShell.test @@ -0,0 +1,12 @@ +# This test applies to POSIX. +# UNSUPPORTED: system-windows + +# FIXME: ShellExpandArguments is unimplemented on Linux. +# UNSUPPORTED: system-linux + +# RUN: %clang %S/Inputs/simple.c -g -o %t.out +# RUN: SHELL=bogus %lldb %t.out -b -o 'run' 2>&1 | FileCheck %s --check-prefix ERROR +# RUN: env -i %lldb %t.out -b -o 'run' 2>&1 | FileCheck %s + +# ERROR: error: shell expansion failed +# CHECK-NOT: error: shell expansion failed |