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