mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-04-06 01:18:05 -05:00
tests requirements
This commit is contained in:
parent
1af321be77
commit
5c0a181436
@ -43,7 +43,8 @@ if grep -o "no libgsf available" "results.log"
|
|||||||
printf "%s\n" "tests for MSI files skipped, please install msitools package"
|
printf "%s\n" "tests for MSI files skipped, please install msitools package"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
if [ -n "$(command -v faketime)" ]
|
||||||
|
then
|
||||||
for plik in ${script_path}/recipes/*
|
for plik in ${script_path}/recipes/*
|
||||||
do
|
do
|
||||||
/bin/sh $plik 3>&1 2>> "results.log" 1>&2
|
/bin/sh $plik 3>&1 2>> "results.log" 1>&2
|
||||||
@ -60,4 +61,8 @@ if [ $count -ne 0 ]
|
|||||||
fi
|
fi
|
||||||
rm -f "test.exe" "test.ex_" "sample.msi" "sample.wxs" "FoobarAppl10.exe"
|
rm -f "test.exe" "test.ex_" "sample.msi" "sample.wxs" "FoobarAppl10.exe"
|
||||||
rm -f "sign_pe.pem" "sign_msi.pem" "verify.log"
|
rm -f "sign_pe.pem" "sign_msi.pem" "verify.log"
|
||||||
|
else
|
||||||
|
printf "%s\n" "faketime not found in \$PATH"
|
||||||
|
printf "%s\n" "tests for PE files skipped, please install faketime package"
|
||||||
|
fi
|
||||||
exit $result
|
exit $result
|
||||||
|
Loading…
x
Reference in New Issue
Block a user