File: 0002-search-path-in-test-script.patch

package info (click to toggle)
scheme9 2025.08.12-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,080 kB
  • sloc: lisp: 16,752; ansic: 11,869; sh: 806; makefile: 237; sed: 6
file content (23 lines) | stat: -rw-r--r-- 584 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: "Barak A. Pearlmutter" <barak+git@cs.nuim.ie>
Date: Wed, 27 Jul 2011 20:46:16 +0100
Subject: search path in test script

---
 util/libtest.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 mode change 100644 => 100755 util/libtest.sh

diff --git a/util/libtest.sh b/util/libtest.sh
old mode 100644
new mode 100755
index d7ec440..8467a96
--- a/util/libtest.sh
+++ b/util/libtest.sh
@@ -82,5 +82,6 @@ trap '
 	exit 1
 ' 1 2 3 15
 
-export S9FES_LIBRARY_PATH
+# Use BUILD_ENV from Makefile here
+env S9FES_LIBRARY_PATH=.:lib:ext:contrib \
 ./s9 -i ./test.image $testfile