Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
jejb
/
sbsigntools
/
62c9352519e1a21d2e6423a2e39354cb05d56c44
/
.
/
tests
/
sign-invalidattach-verify.sh
blob: 58cd7e2f85e169243015dc354a6c34262697fbd7 [
file
]
#!/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