Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
kernel
/
lk
/
6c2e4d61f83af4233c3270e4f1ec1da01d90466e
/
.
/
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