Sign in
gfiber
/
buildroot
/
d298f16f9257cda55621f52c0dc49d0098afc0d9
/
.
/
fs
/
skeleton
/
etc
/
diag.d
/
T99fail
blob: cbf3c50fe835e3cc06c3a1b6eaec13047255b35f [
file
] [
log
] [
blame
]
#!/bin/sh
set
-
e
# a normal fail case
runtest
()
{
echo
"here is some stdout text"
echo
"here is some stderr text"
1
>&
2
return
1
}
case
"$1"
in
test
)
if
runtest
;
then
echo PASS
else
echo FAIL
fi
;;
*)
echo
"Usage: $0 {test}"
exit
1
esac