17 lines · plain
1# REQUIRES: python2#3# RUN: mkdir -p %t.root4# RUN: mkdir -p %t.home5# RUN: cp %S/Inputs/.lldbinit %t.root6# RUN: cp %S/Inputs/syntax_error.py %t.root7# RUN: cd %t.root8# RUN: env HOME=%t.home %lldb-init -o 'settings show frame-format' 2>&1 | FileCheck %s --check-prefix=WARNINIT --check-prefix=CHECK9# RUN: env HOME=%t.home %lldb-init -local-lldbinit -o 'settings show frame-format' 2>&1 | FileCheck %s --check-prefix=ALLOWINIT --check-prefix=NOINIT10# RUN: %lldb -o 'settings show frame-format' 2>&1 | FileCheck %s --check-prefix=NOINIT --check-prefix=CHECK11 12# WARNINIT: warning: There is a .lldbinit file in the current directory which is not being read.13# NOINIT-NOT: There is a .lldbinit file in the current directory which is not being read.14# CHECK-NOT: bogus15# ALLOWINIT: name 'prlnt' is not defined16# ALLOWINIT: bogus17