xref: /llvm-project/lldb/test/Shell/lldb-server/TestErrorMessages.test (revision bbcb4d6bc0db612698ab8938ce209029cd8551e0)
1*bbcb4d6bSRaphael IsemannRUN: %lldb-server gdbserver --fd 2>&1 | FileCheck --check-prefixes=FD1,ALL %s
2fa5fa63fSPavel LabathFD1: error: --fd: missing argument
3fa5fa63fSPavel Labath
4*bbcb4d6bSRaphael IsemannRUN: %lldb-server gdbserver --fd three 2>&1 | FileCheck --check-prefixes=FD2,ALL %s
5fa5fa63fSPavel LabathFD2: error: invalid '--fd' argument
6fa5fa63fSPavel Labath
7*bbcb4d6bSRaphael IsemannRUN: %lldb-server gdbserver --bogus 2>&1 | FileCheck --check-prefixes=BOGUS,ALL %s
8fa5fa63fSPavel LabathBOGUS: error: unknown argument '--bogus'
9fa5fa63fSPavel Labath
10*bbcb4d6bSRaphael IsemannRUN: %lldb-server gdbserver 2>&1 | FileCheck --check-prefixes=CONN,ALL %s
11fa5fa63fSPavel LabathCONN: error: no connection arguments
12fa5fa63fSPavel Labath
13*bbcb4d6bSRaphael IsemannALL: Use '{{.*}} g[dbserver] --help' for a complete list of options.
14fa5fa63fSPavel Labath
15