summaryrefslogtreecommitdiff
path: root/tests/data/cmd-wrapper.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/cmd-wrapper.in')
-rw-r--r--tests/data/cmd-wrapper.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/data/cmd-wrapper.in b/tests/data/cmd-wrapper.in
new file mode 100644
index 0000000..d50816c
--- /dev/null
+++ b/tests/data/cmd-wrapper.in
@@ -0,0 +1,9 @@
+#!/bin/sh
+# $Id$
+#
+# 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'