summaryrefslogtreecommitdiffstats
path: root/tests/openpgp/gpgv-forged-keyring.scm
diff options
context:
space:
mode:
authorJustus Winter <justus@g10code.com>2017-03-22 12:40:42 +0100
committerJustus Winter <justus@g10code.com>2017-04-24 14:14:05 +0200
commited4d23d75e8ba89e998b88a4f862661c81f665a3 (patch)
tree7e956da634802ab2d802f5e5d9e208932d606926 /tests/openpgp/gpgv-forged-keyring.scm
parentgpgscm: Move 'trace' and 'stringify'. (diff)
downloadgnupg2-ed4d23d75e8ba89e998b88a4f862661c81f665a3.tar.xz
gnupg2-ed4d23d75e8ba89e998b88a4f862661c81f665a3.zip
tests: Locate resources and scripts relative to top source dir.
-- Locate every resource and every script used in the tests using a path relative to the top of the source tree. This is a purely mechanical change, mostly done using regular expressions, with a few manual fixups here and there. Signed-off-by: Justus Winter <justus@g10code.com>
Diffstat (limited to 'tests/openpgp/gpgv-forged-keyring.scm')
-rwxr-xr-xtests/openpgp/gpgv-forged-keyring.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/openpgp/gpgv-forged-keyring.scm b/tests/openpgp/gpgv-forged-keyring.scm
index 6885cd9fc..886d2653f 100755
--- a/tests/openpgp/gpgv-forged-keyring.scm
+++ b/tests/openpgp/gpgv-forged-keyring.scm
@@ -17,7 +17,7 @@
;; You should have received a copy of the GNU General Public License
;; along with this program; if not, see <http://www.gnu.org/licenses/>.
-(load (with-path "defs.scm"))
+(load (in-srcdir "tests" "openpgp" "defs.scm"))
(setup-legacy-environment)
(define msg_signed_asc "
@@ -63,6 +63,6 @@ N1Glbw1OJfP1q+QFPMPKoCsTYmZpuugq2b5gV/eH0Abvk2pG4Fo/YTDPHhec7Jk=
(catch '()
(pipe:do
(pipe:echo (eval armored-file (current-environment)))
- (pipe:spawn `(,@GPGV --keyring ,(in-srcdir "forged-keyring.gpg"))))
+ (pipe:spawn `(,@GPGV --keyring ,(in-srcdir "tests" "openpgp" "forged-keyring.gpg"))))
(fail "verification succeeded but should not")))
'(msg_signed_asc))