aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/issue2419.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/issue2419.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/issue2419.scm')
-rwxr-xr-xtests/openpgp/issue2419.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/openpgp/issue2419.scm b/tests/openpgp/issue2419.scm
index e397a8877..641fb32b5 100755
--- a/tests/openpgp/issue2419.scm
+++ b/tests/openpgp/issue2419.scm
@@ -17,13 +17,13 @@
;; 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-environment)
(info "Checking iobuf_peek corner case (issue2419)...")
(lettmp
(onebyte)
- (dearmor (in-srcdir "samplemsgs/issue2419.asc") onebyte)
+ (dearmor (in-srcdir "tests" "openpgp" "samplemsgs/issue2419.asc") onebyte)
(catch (assert (string-contains? (car *error*) "invalid packet"))
(call-popen `(,@GPG --list-packets ,onebyte) "")
(fail "Expected an error but got none")))