mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-07-02 11:12:49 -05:00
Test improvements (#14)
* removed pvk keys tests * new 11_sign_nest test * improved verify_signature() * new tests of timestamping with the add command
This commit is contained in:

committed by
Michał Trojnara

parent
62e8ffd0c9
commit
00290bc363
@ -17,7 +17,7 @@ if [ -s "test.exe" ]
|
||||
../../osslsigncode add \
|
||||
-addUnauthenticatedBlob \
|
||||
-in "test_361_signed.exe" -out "test_361.exe"'
|
||||
verify_text "$?" "361" "exe" "BEGIN_BLOB" "ASCII" "UNUSED_PATTERN" "MODIFY"
|
||||
verify_signature "$?" "361" "exe" "MODIFY" "UNUSED_PATTERN" "ASCII" "BEGIN_BLOB" "UNUSED_PATTERN"
|
||||
test_result "$?" "$test_name"
|
||||
else
|
||||
printf "Test skipped\n"
|
||||
@ -40,7 +40,7 @@ if [ -s "sample.msi" ]
|
||||
../../osslsigncode add \
|
||||
-addUnauthenticatedBlob \
|
||||
-in "test_362_signed.msi" -out "test_362.msi"'
|
||||
verify_text "$?" "362" "msi" "BEGIN_BLOB" "ASCII" "UNUSED_PATTERN" "MODIFY"
|
||||
verify_signature "$?" "362" "msi" "MODIFY" "UNUSED_PATTERN" "ASCII" "BEGIN_BLOB" "UNUSED_PATTERN"
|
||||
test_result "$?" "$test_name"
|
||||
else
|
||||
printf "Test skipped\n"
|
||||
|
Reference in New Issue
Block a user