Sign in
qemu
/
dtc
/
228a44cce857feeae55362a0c95689bc82123ed6
/
.
/
tests
/
dtc-fatal.sh
blob: 22eea699f1c0899d75e2776cd8ae1c6fa98aca3b [
file
] [
log
] [
blame
]
#! /bin/sh
.
./
testutils
.
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