summaryrefslogtreecommitdiff
path: root/tests/server/backend-t.in
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2010-02-09 19:55:12 -0800
committerRuss Allbery <rra@stanford.edu>2010-02-09 19:55:12 -0800
commitff2d5ac3c63af9833d884d4840c772e60e45da7d (patch)
tree3d72086a5dae6425699c444263b8abc9f16ade64 /tests/server/backend-t.in
parent99448954f4f9504796226bf05e76df22231d51ca (diff)
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.
Diffstat (limited to 'tests/server/backend-t.in')
-rw-r--r--tests/server/backend-t.in4
1 files changed, 2 insertions, 2 deletions
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 <rra@stanford.edu>
-# 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