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 ++++++++ tests/data/cmd-wrapper.in | 9 --------- 2 files changed, 8 insertions(+), 9 deletions(-) create mode 100755 tests/data/cmd-wrapper delete mode 100644 tests/data/cmd-wrapper.in (limited to 'tests/data') 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 "$@" diff --git a/tests/data/cmd-wrapper.in b/tests/data/cmd-wrapper.in deleted file mode 100644 index 7c7b342..0000000 --- a/tests/data/cmd-wrapper.in +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -# -# Wrapper around the standard wallet-backend script that sets the Perl INC -# path and the WALLET_CONFIG environment variable appropriately. - -WALLET_CONFIG='@abs_top_srcdir@/tests/data/wallet.conf' -export WALLET_CONFIG -exec perl -I'@abs_top_srcdir@/perl' '@abs_top_srcdir@/server/wallet-backend' \ - -q "$@" -- cgit v1.2.3