summaryrefslogtreecommitdiff
path: root/tests/server/admin-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/admin-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/admin-t.in')
-rw-r--r--tests/server/admin-t.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/server/admin-t.in b/tests/server/admin-t.in
index 11d2883..570dc52 100644
--- a/tests/server/admin-t.in
+++ b/tests/server/admin-t.in
@@ -3,7 +3,7 @@
# Tests for the wallet-admin dispatch code.
#
# Written by Russ Allbery <rra@stanford.edu>
-# Copyright 2008, 2009 Board of Trustees, Leland Stanford Jr. University
+# Copyright 2008, 2009, 2010 Board of Trustees, Leland Stanford Jr. University
#
# See LICENSE for licensing terms.
@@ -82,7 +82,7 @@ sub report_owners {
# Wallet::Admin package has already been loaded.
package main;
$INC{'Wallet/Admin.pm'} = 'FAKE';
-eval { do '@abs_top_srcdir@/server/wallet-admin' };
+eval { do "$ENV{SOURCE}/../server/wallet-admin" };
# Run the wallet admin client. This fun hack takes advantage of the fact that
# the wallet admin client is written in Perl so that we can substitute our own