Sign in
gfiber
/
buildroot
/
78bb4bfad176c7404cccf62188db812393609d5d
/
.
/
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