40ca3d5896
* lang/qt/src/qgpgmeencryptarchivejob.cpp (encrypt): Remove output file if operation was canceled or failed. * lang/qt/src/qgpgmesignarchivejob.cpp (sign): Ditto. * lang/qt/src/qgpgmesignencryptarchivejob.cpp (sign_encrypt): Ditto. * lang/qt/tests/run-encryptarchivejob.cpp (CommandLineOptions): Add field cancelTimeout. (parseCommandLine): Add option --cancel-after. Parse option value. (main): Check for invalid cancel timeout. Start timer for canceling the job. * lang/qt/tests/run-signarchivejob.cpp (CommandLineOptions): Add field cancelTimeout. (parseCommandLine): Add option --cancel-after. Parse option value. (main): Check for invalid cancel timeout. Start timer for canceling the job. -- This change ensures that the output file is removed if the creation of a signed or encrypted archive was canceled or failed. The new option of the test runners enables testing the cancelation of the jobs. GnuPG-bug-id: 6584 |
||
---|---|---|
.. | ||
final.test | ||
initial.test | ||
Makefile.am | ||
run-decryptverifyarchivejob.cpp | ||
run-encryptarchivejob.cpp | ||
run-exportjob.cpp | ||
run-importjob.cpp | ||
run-keyformailboxjob.cpp | ||
run-receivekeysjob.cpp | ||
run-refreshkeysjob.cpp | ||
run-signarchivejob.cpp | ||
t-addexistingsubkey.cpp | ||
t-changeexpiryjob.cpp | ||
t-config.cpp | ||
t-decryptverify.cpp | ||
t-encrypt.cpp | ||
t-import.cpp | ||
t-keylist.cpp | ||
t-keylocate.cpp | ||
t-ownertrust.cpp | ||
t-remarks.cpp | ||
t-revokekey.cpp | ||
t-setprimaryuserid.cpp | ||
t-support.cpp | ||
t-support.h | ||
t-tofuinfo.cpp | ||
t-trustsignatures.cpp | ||
t-various.cpp | ||
t-verify.cpp | ||
t-wkdlookup.cpp | ||
t-wkspublish.cpp |