Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
jejb
/
sbsigntools
/
f6115a8045275a0dc138f9088ba018441146e81d
/
.
/
tests
/
sign-invalidattach-verify.sh
blob: 58cd7e2f85e169243015dc354a6c34262697fbd7 [
file
] [
log
] [
blame
]
#!/bin/bash -e
invsig
=
"test.invsig"
dd
if
=/
dev
/
zero of
=
"$invsig"
bs
=
1
count
=
1k
tmp_image
=
test
.
pecoff
cp
"$image"
"$tmp_image"
set
+
e
"$sbattach"
--
attach
"$invsig"
"$tmp_image"
rc
=
$
?
set
-
e
test $rc
-
eq
1