knot: update to version 3.1.0
[feed/packages.git] / net / knot / patches / 01_zscanner_tests.patch
1 --- a/tests/libzscanner/test_zscanner.in
2 +++ b/tests/libzscanner/test_zscanner.in
3 @@ -1,15 +1,14 @@
4 #!/bin/sh
5
6 -SOURCE=@top_srcdir@/tests/libzscanner
7 -BUILD=@top_builddir@/tests/libzscanner
8 +SOURCE="."
9 +BUILD="/tmp/knot-test"
10 +mkdir -p "$BUILD"
11
12 -. @top_srcdir@/tests/tap/libtap.sh
13 -
14 -cd "$BUILD"
15 +. ../tap/libtap.sh
16
17 TMPDIR=$(test_tmpdir)
18 TESTS_DIR="$SOURCE"/data
19 -ZSCANNER_TOOL="$BUILD"/zscanner-tool
20 +ZSCANNER_TOOL="$SOURCE"/zscanner-tool
21
22 plan 86
23