diff options
Diffstat (limited to 'lldb/lit/Driver/LocalLLDBInit.test')
| -rw-r--r-- | lldb/lit/Driver/LocalLLDBInit.test | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lldb/lit/Driver/LocalLLDBInit.test b/lldb/lit/Driver/LocalLLDBInit.test index 7d2e05c5323..a5961089413 100644 --- a/lldb/lit/Driver/LocalLLDBInit.test +++ b/lldb/lit/Driver/LocalLLDBInit.test @@ -1,9 +1,12 @@ # RUN: mkdir -p %t.root +# RUN: mkdir -p %t.home # RUN: cp %S/Inputs/.lldbinit %t.root # RUN: cd %t.root -# RUN: %lldb-init -o 'settings show frame-format' 2>&1 | FileCheck %s --check-prefix=INIT --check-prefix=CHECK +# RUN: env HOME=%t.home %lldb-init -o 'settings show frame-format' 2>&1 | FileCheck %s --check-prefix=WARNINIT --check-prefix=CHECK +# RUN: env HOME=%t.home %lldb-init -local-lldbinit -o 'settings show frame-format' 2>&1 | FileCheck %s --check-prefix=ALLOWINIT --check-prefix=NOINIT # RUN: %lldb -o 'settings show frame-format' 2>&1 | FileCheck %s --check-prefix=NOINIT --check-prefix=CHECK -# INIT: There is a .lldbinit file in the current directory which is not being read. +# WARNINIT: There is a .lldbinit file in the current directory which is not being read. # NOINIT-NOT: There is a .lldbinit file in the current directory which is not being read. # CHECK-NOT: bogus +# ALLOWINIT: bogus |

