summaryrefslogtreecommitdiff
path: root/tests/data/cmd-wrapper.in
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2008-02-12 01:31:05 +0000
committerRuss Allbery <rra@stanford.edu>2008-02-12 01:31:05 +0000
commitfb06cf6028090d371a6ecdddba59ed2bed0ad465 (patch)
tree2f9a67a30b8fbe7954ffd54be1f8992a736625f8 /tests/data/cmd-wrapper.in
parent247366355b63b3f6804d591dde9d5b48895a8fdf (diff)
Initial pass at an end-to-end test suite.
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'