First Commit
[librecmc/package-feed.git] / net / knot / patches / 01_zscanner_tests.patch
1 diff --git a/src/zscanner/tests/unittests.in b/src/zscanner/tests/unittests.in
2 index 9a4af53..f9b45bf 100644
3 --- a/src/zscanner/tests/unittests.in
4 +++ b/src/zscanner/tests/unittests.in
5 @@ -1,15 +1,14 @@
6  #!/bin/sh
7  
8 -SOURCE=@top_srcdir@/src/zscanner/tests
9 -BUILD=@top_builddir@/src/zscanner/tests
10 +SOURCE="."
11 +BUILD="/tmp/knot-test"
12 +mkdir -p "$BUILD"
13  
14 -. @top_srcdir@/libtap/tap/libtap.sh
15 -
16 -cd "$BUILD"
17 +. ../tap/libtap.sh
18  
19  TMPDIR=$(test_tmpdir)
20  TESTS_DIR="$SOURCE"/data
21 -ZSCANNER_TOOL="$BUILD"/zscanner-tool
22 +ZSCANNER_TOOL=./zscanner-tool
23  
24  plan 71
25