Sign in
llvm
/
llvm-project
/
libcxx
/
7f2ea8aa46cc32735c42cb9ae439af7042f12979
/
.
/
test
/
std
/
input.output
/
iostream.objects
/
wide.stream.objects
/
check-stdout.sh
blob: 996cae539e727ab394367cad680e38e3464182e2 [
file
] [
log
] [
blame
]
# Check that the stdout of the executed program matches a reference file.
program
=
$
{
1
}
expected_file
=
$
{
2
}
$
{
program
}
2
>
stderr
.
log
>
stdout
.
log
cmp stdout
.
log
"${expected_file}"