Gitiles
Code Review
Sign In
LeafOS
/
LeafOS-Project
/
android_external_dtc
/
83e606a64d7b555bea3c3007b48bb9f790f0139c
/
.
/
tests
/
dtc-fatal.sh
blob: 6781ced9a67063c1ddd3cbc043af43b0eafdc6e7 [
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