Sign in
fuchsia
/
garnet
/
66e1924c2a18c92594644cfa392bf02cb568984d
/
.
/
bin
/
test_runner
/
test
/
fake_command.cc
blob: d788ff24d3b4b4d81be7ecbbe20025a6db6557ef [
file
] [
log
] [
blame
]
#include
<cstring>
#include
<iostream>
// Command that fails if given a single argument "fail".
int
main
(
int
argc
,
char
**
argv
)
{
std
::
cout
<<
"abc\n"
;
std
::
cerr
<<
"xyz\n"
;
return
(
argc
>
1
&&
std
::
strcmp
(
argv
[
1
],
"fail"
)
==
0
);
}