summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t/Interface.t4
-rw-r--r--t/bin/gnupg3
-rw-r--r--t/bin/gpg3
-rw-r--r--t/bin/gpg13
-rw-r--r--t/update_version.t4
5 files changed, 17 insertions, 0 deletions
diff --git a/t/Interface.t b/t/Interface.t
index 3ebdb7f..556b837 100644
--- a/t/Interface.t
+++ b/t/Interface.t
@@ -8,6 +8,10 @@ use strict;
use lib './t';
use MyTest;
+# Make sure that there are some dummy scripts available so no warnings
+# are thrown.
+$ENV{PATH} .= ":t/bin";
+
use GnuPG::Interface;
my $v1 = './test/fake-gpg-v1';
diff --git a/t/bin/gnupg b/t/bin/gnupg
new file mode 100644
index 0000000..2de67f5
--- /dev/null
+++ b/t/bin/gnupg
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo "gpg (GnuPG) 2.2.20"
diff --git a/t/bin/gpg b/t/bin/gpg
new file mode 100644
index 0000000..2de67f5
--- /dev/null
+++ b/t/bin/gpg
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo "gpg (GnuPG) 2.2.20"
diff --git a/t/bin/gpg1 b/t/bin/gpg1
new file mode 100644
index 0000000..1bdd7c7
--- /dev/null
+++ b/t/bin/gpg1
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo "gpg (GnuPG) 1.4.23"
diff --git a/t/update_version.t b/t/update_version.t
index 1a27e9b..9daee19 100644
--- a/t/update_version.t
+++ b/t/update_version.t
@@ -14,6 +14,10 @@ use strict;
use lib './t';
use MyTest;
+# Make sure that there are some dummy scripts available so no warnings
+# are thrown.
+$ENV{PATH} .= ":t/bin";
+
use GnuPG::Interface;
my $gnupg = GnuPG::Interface->new();