1# REQUIRES: python 2# RUN: mkdir -p %t.root 3# RUN: mkdir -p %t.home 4# RUN: cp %S/Inputs/.lldbinit %t.root 5# RUN: cp %S/Inputs/syntax_error.py %t.root 6# RUN: cd %t.root 7# RUN: env HOME=%t.home %lldb-init -o 'settings show frame-format' 2>&1 | FileCheck %s --check-prefix=WARNINIT --check-prefix=CHECK 8# RUN: env HOME=%t.home %lldb-init -local-lldbinit -o 'settings show frame-format' 2>&1 | FileCheck %s --check-prefix=ALLOWINIT --check-prefix=NOINIT 9# RUN: %lldb -o 'settings show frame-format' 2>&1 | FileCheck %s --check-prefix=NOINIT --check-prefix=CHECK 10 11# WARNINIT: There is a .lldbinit file in the current directory which is not being read. 12# NOINIT-NOT: There is a .lldbinit file in the current directory which is not being read. 13# CHECK-NOT: bogus 14# ALLOWINIT: name 'prlnt' is not defined 15# ALLOWINIT: bogus 16