Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
gong.chen
/
mce-test
/
9ef2993bc14c9417d3cf32659dc1671b2f1a13fb
/
.
/
cases
/
coverage
/
soft-inj
/
run_simple.sh
blob: d405b4209ebf310744c3b914e03b09f957c3fc4a [
file
] [
log
] [
blame
]
#!/bin/bash
echo
0
>
$TMP_DIR
/
error
.
$$
pushd
`dirname $0`
>
/
dev
/
null
./
driver_simple
.
sh config
/
simple
.
conf
[
$
?
-
eq
0
]
||
echo
1
>
$TMP_DIR
/
error
.
$$
popd
>
/
dev
/
null
grep
-
q
"1"
$TMP_DIR
/
error
.
$$
if
[
$
?
-
eq
0
]
then
exit
1
else
exit
0
fi