summaryrefslogtreecommitdiffstats
path: root/test/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/setup.sh')
-rw-r--r--test/setup.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/setup.sh b/test/setup.sh
index 4a6eb3b1..64ada289 100644
--- a/test/setup.sh
+++ b/test/setup.sh
@@ -18,6 +18,11 @@ AURBLUP="$TOPLEVEL/aurweb/scripts/aurblup.py"
NOTIFY="$TOPLEVEL/aurweb/scripts/notify.py"
RENDERCOMMENT="$TOPLEVEL/aurweb/scripts/rendercomment.py"
+# We reuse some of these scripts when running `env`, so add
+# it to PATH; that way, env can pick up the script when loaded.
+PATH="${PATH}:${TOPLEVEL}/test/scripts"
+export PATH
+
# Create the configuration file and a dummy notification script.
cat >config <<-EOF
[database]