forked from OSchip/llvm-project
16 lines
725 B
Plaintext
16 lines
725 B
Plaintext
# RUN: rm -rf %t.repro
|
|
# RUN: rm -rf %t.repro2
|
|
# RUN: %clang_host %S/Inputs/simple.c -g -o %t.out
|
|
# RUN: %lldb -x -b -s %S/Inputs/GDBRemoteCapture.in --capture --capture-path %t.repro %t.out
|
|
|
|
# RUN: echo "/bogus/home/dir" > %t.repro/home.txt
|
|
# RUN: echo "/bogus/current/working/dir" > %t.repro/cwd.txt
|
|
|
|
# RUN: not %lldb -b -o 'reproducer verify -f %t.repro' 2>&1 | FileCheck %s
|
|
# CHECK: working directory '/bogus/current/working/dir' not in VFS
|
|
# CHECK: home directory '/bogus/home/dir' not in VFS
|
|
|
|
# RUN: rm %t.repro/root/%S/Inputs/GDBRemoteCapture.in
|
|
# RUN: echo "CHECK: '%S/Inputs/GDBRemoteCapture.in': No such file or directory" > %t.check
|
|
# RUN: not %lldb -b -o 'reproducer verify -f %t.repro' 2>&1 | FileCheck %t.check
|