tests,w32: Fix importing the extra key for GPGME's keylist test.
authorJustus Winter <justus@g10code.com>
Tue, 28 Mar 2017 14:51:18 +0000 (16:51 +0200)
committerJustus Winter <justus@g10code.com>
Tue, 28 Mar 2017 14:51:18 +0000 (16:51 +0200)
* tests/gpgme/wrap.scm: Qualify the tests name with the extension for
executables (if any).

Signed-off-by: Justus Winter <justus@g10code.com>
tests/gpgme/wrap.scm

index 4c96a09..eb416f4 100644 (file)
@@ -53,7 +53,7 @@
 
 (let ((name (basename (car executable))))
   (cond
-   ((string=? "t-keylist" name)
+   ((string=? (qualify "t-keylist") name)
     ;; This test assumes that 't-import' imported a key.
     (log "Importing extra key...")
     (call-check `(,@GPG --yes --import ,(in-srcdir "pubkey-1.asc"))))))