From ff2d5ac3c63af9833d884d4840c772e60e45da7d Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Tue, 9 Feb 2010 19:55:12 -0800 Subject: Use the $SOURCE and $BUILD test suite variables Now that runtests has been updated to a version that sets $SOURCE and $BUILD, use that in the test cases rather than Autoconf substitutions. --- tests/server/backend-t.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/server/backend-t.in') diff --git a/tests/server/backend-t.in b/tests/server/backend-t.in index 0c6ac60..2fc6a53 100644 --- a/tests/server/backend-t.in +++ b/tests/server/backend-t.in @@ -3,7 +3,7 @@ # Tests for the wallet-backend dispatch code. # # Written by Russ Allbery -# Copyright 2006, 2007, 2008, 2009 +# Copyright 2006, 2007, 2008, 2009, 2010 # Board of Trustees, Leland Stanford Jr. University # # See LICENSE for licensing terms. @@ -163,7 +163,7 @@ package main; $INC{'Wallet/Server.pm'} = 'FAKE'; my $OUTPUT; our $SYSLOG = \$OUTPUT; -eval { do '@abs_top_srcdir@/server/wallet-backend' }; +eval { do "$ENV{SOURCE}/../server/wallet-backend" }; # Run the wallet backend. This fun hack takes advantage of the fact that the # wallet backend is written in Perl so that we can substitute our own -- cgit v1.2.3