187aa9c9eSJonas Devlieghere# REQUIRES: python 2*83a093b8SJonas Devlieghere# UNSUPPORTED: lldb-repro 3*83a093b8SJonas Devlieghere# 487aa9c9eSJonas Devlieghere# RUN: mkdir -p %t.root 587aa9c9eSJonas Devlieghere# RUN: mkdir -p %t.home 687aa9c9eSJonas Devlieghere# RUN: cp %S/Inputs/.lldbinit %t.root 787aa9c9eSJonas Devlieghere# RUN: cp %S/Inputs/syntax_error.py %t.root 887aa9c9eSJonas Devlieghere# RUN: cd %t.root 987aa9c9eSJonas Devlieghere# RUN: env HOME=%t.home %lldb-init -o 'settings show frame-format' 2>&1 | FileCheck %s --check-prefix=WARNINIT --check-prefix=CHECK 1087aa9c9eSJonas Devlieghere# RUN: env HOME=%t.home %lldb-init -local-lldbinit -o 'settings show frame-format' 2>&1 | FileCheck %s --check-prefix=ALLOWINIT --check-prefix=NOINIT 1187aa9c9eSJonas Devlieghere# RUN: %lldb -o 'settings show frame-format' 2>&1 | FileCheck %s --check-prefix=NOINIT --check-prefix=CHECK 1287aa9c9eSJonas Devlieghere 1387aa9c9eSJonas Devlieghere# WARNINIT: There is a .lldbinit file in the current directory which is not being read. 1487aa9c9eSJonas Devlieghere# NOINIT-NOT: There is a .lldbinit file in the current directory which is not being read. 1587aa9c9eSJonas Devlieghere# CHECK-NOT: bogus 1687aa9c9eSJonas Devlieghere# ALLOWINIT: name 'prlnt' is not defined 1787aa9c9eSJonas Devlieghere# ALLOWINIT: bogus 18