Sign in
fuchsia
/
third_party
/
yxml
/
e98a37a86babe066c60b67e5a3c488765c70058a
/
.
/
test
/
test.sh
blob: afff8a1d93484fdba1136791d8b8a06b27189654 [
file
] [
log
] [
blame
]
#!/bin/sh
for
i
in
*.
xml
;
do
b
=
`basename $i .xml`
o
=
$
{
b
}.
out
t
=
$
{
b
}.
test
./
test
<
$i
>
$t
if
[
-
n
"`diff -q $o $t`"
];
then
echo
"Test failed for $i:"
diff
-
u $o $t
exit
1
fi
done
echo
"All tests completed successfully."