From a556c732806da87d06bb787565e12240ea39b553 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Tue, 9 Feb 2010 21:01:33 -0800 Subject: Stop doing Autoconf substitution on some test suite code Anything that only was using substitution for the paths to the build tree now uses $SOURCE and $BUILD instead. Stop doing substitution. Also fix tests/data/cmd-wrapper to use the environment variables. --- tests/data/cmd-wrapper | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 tests/data/cmd-wrapper (limited to 'tests/data/cmd-wrapper') diff --git a/tests/data/cmd-wrapper b/tests/data/cmd-wrapper new file mode 100755 index 0000000..79b1943 --- /dev/null +++ b/tests/data/cmd-wrapper @@ -0,0 +1,8 @@ +#!/bin/sh +# +# Wrapper around the standard wallet-backend script that sets the Perl INC +# path and the WALLET_CONFIG environment variable appropriately. + +WALLET_CONFIG="$SOURCE/data/wallet.conf" +export WALLET_CONFIG +exec perl -I"$SOURCE/../perl" "$SOURCE/../server/wallet-backend" -q "$@" -- cgit v1.2.3