Gitiles
Code Review
Sign In
LeafOS
/
LeafOS-Project
/
android_external_dtc
/
f7ea3708c38bd38851baafa83e98d95602e53cbc
/
.
/
tests
/
dtc-fatal.sh
blob: 8eb1b448428363f4807ce4c6066f6f2d88a6002c [
file
] [
log
] [
blame
]
#! /bin/sh
.
tests
.
sh
verbose_run $VALGRIND
"$DTC"
-
o
/
dev
/
null
"$@"
ret
=
"$?"
if
[
"$ret"
-
gt
127
];
then
FAIL
"dtc killed by signal (ret=$ret)"
elif
[
"$ret"
!=
"1"
];
then
FAIL
"dtc returned incorrect status $ret instead of 1"
fi
PASS