diff options
Diffstat (limited to 'tests/server/admin-t')
-rwxr-xr-x | tests/server/admin-t | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/server/admin-t b/tests/server/admin-t index f025d98..a74e6db 100755 --- a/tests/server/admin-t +++ b/tests/server/admin-t @@ -3,10 +3,11 @@ # Tests for the wallet-admin dispatch code. # # Written by Russ Allbery <eagle@eyrie.org> -# Copyright 2008, 2009, 2010, 2011, 2014 +# Copyright 2018 Russ Allbery <eagle@eyrie.org> +# Copyright 2008-2011, 2014 # The Board of Trustees of the Leland Stanford Junior University # -# See LICENSE for licensing terms. +# SPDX-License-Identifier: MIT use strict; use Test::More tests => 42; @@ -68,7 +69,7 @@ sub upgrade { # Wallet::Admin package has already been loaded. package main; $INC{'Wallet/Admin.pm'} = 'FAKE'; -eval { do "$ENV{SOURCE}/../server/wallet-admin" }; +do "$ENV{C_TAP_BUILD}/../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 |