1# Check that errors are propagated to the driver. 2# 3# RUN: not %lldb --capture --capture-path %t/bogus/bogus 2>&1 | FileCheck %s --check-prefix INVALID-CAPTURE 4# RUN: not %lldb --replay %t/bogus/bogus 2>&1 | FileCheck %s --check-prefix INVALID-REPLAY 5# 6# INVALID-CAPTURE: unable to create reproducer directory 7# INVALID-REPLAY: unable to load reproducer index 8 9# Check that all option combination work as expected. 10# 11# RUN: %lldb --capture --capture-path %t.repro -b -o 'reproducer status' 2>&1 | FileCheck %s --check-prefix NO-WARNING --check-prefix STATUS-CAPTURE 12# RUN: %lldb --capture -b -o 'reproducer status' 2>&1 | FileCheck %s --check-prefix NO-WARNING --check-prefix STATUS-CAPTURE 13# RUN: %lldb --capture-path %t.repro -b -o 'reproducer status' 2>&1 | FileCheck %s --check-prefix WARNING --check-prefix STATUS-CAPTURE 14# 15# NO-WARNING-NOT: warning: -capture-path specified without -capture 16# WARNING: warning: -capture-path specified without -capture 17# STATUS-CAPTURE: Reproducer is in capture mode. 18