aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/encrypt.scm
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-03-22 11:40:42 +0000
committerJustus Winter <[email protected]>2017-04-24 12:14:05 +0000
commited4d23d75e8ba89e998b88a4f862661c81f665a3 (patch)
tree7e956da634802ab2d802f5e5d9e208932d606926 /tests/openpgp/encrypt.scm
parentgpgscm: Move 'trace' and 'stringify'. (diff)
downloadgnupg-ed4d23d75e8ba89e998b88a4f862661c81f665a3.tar.gz
gnupg-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 <[email protected]>
Diffstat (limited to 'tests/openpgp/encrypt.scm')
-rwxr-xr-xtests/openpgp/encrypt.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/openpgp/encrypt.scm b/tests/openpgp/encrypt.scm
index 1888a0034..f59a1f0c1 100755
--- a/tests/openpgp/encrypt.scm
+++ b/tests/openpgp/encrypt.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)
(for-each-p
@@ -54,8 +54,8 @@
(tr:do
(tr:open source)
(tr:gpg "" `(--yes -v --no-keyring --encrypt
- --recipient-file ,(in-srcdir key-file1)
- --hidden-recipient-file ,(in-srcdir key-file2)))
+ --recipient-file ,(in-srcdir "tests" "openpgp" key-file1)
+ --hidden-recipient-file ,(in-srcdir "tests" "openpgp" key-file2)))
(tr:gpg "" '(--yes --decrypt))
(tr:assert-identity source)))
plain-files)