mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-07-01 02:32:47 -05:00
Fixed "add" tests
The "add" command was never supposed to copy a signature.
See afd5c5177d
for details.
This commit is contained in:
@ -1,14 +1,13 @@
|
||||
#!/bin/sh
|
||||
# Moving the authenticode signing with addUnauthenticatedBlob to the PE/MSI file.
|
||||
# Adding an unauthenticated blob to the PE/MSI file.
|
||||
|
||||
. $(dirname $0)/../test_library
|
||||
|
||||
# PE file
|
||||
test_name="361. Moving the authenticode signing with addUnauthenticatedBlob to the PE file"
|
||||
test_name="361. Adding an unauthenticated blob to the PE file"
|
||||
printf "\n%s\n" "$test_name"
|
||||
if [ -s "test.exe" ]
|
||||
then
|
||||
cat "test.exe" > "test_361.exe"
|
||||
faketime -f '@2019-01-01 00:00:00' /bin/bash -c '
|
||||
script_path=$(pwd)
|
||||
../../osslsigncode sign -h sha256 \
|
||||
@ -27,7 +26,7 @@ if [ -s "test.exe" ]
|
||||
# Command is not supported for non-PE
|
||||
|
||||
# MSI file
|
||||
test_name="362. Moving the authenticode signing with addUnauthenticatedBlob to the MSI file"
|
||||
test_name="362. Adding an unauthenticated blob to the MSI file"
|
||||
printf "\n%s\n" "$test_name"
|
||||
if [ -s "sample.msi" ]
|
||||
then
|
||||
|
Reference in New Issue
Block a user