• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: echo "CHECK: %t.home" > %t.check
2
3# RUN: rm -rf %t.repro
4# RUN: rm -rf %t.home
5# RUN: mkdir -p %t.repro
6# RUN: mkdir -p %t.home
7# RUN: echo "print 95000 + 126" > %t.home/.lldbinit
8# RUN: env HOME=%t.home %lldb-init -b -s %S/Inputs/HomeDir.in --capture --capture-path %t.repro | FileCheck %s
9
10# RUN: cat %t.repro/home.txt | FileCheck %t.check
11# RUN: %lldb -b -o 'reproducer dump -p home -f %t.repro' | FileCheck %t.check
12
13# RUN: %lldb --replay %t.repro | FileCheck %s
14# CHECK: 95126
15