2018-08-31 13:34:57 +00:00
|
|
|
diff --git a/tests/libzscanner/test_zscanner.in b/tests/libzscanner/test_zscanner.in
|
|
|
|
index 2c0c27526..72b2124c7 100644
|
|
|
|
--- a/tests/libzscanner/test_zscanner.in
|
|
|
|
+++ b/tests/libzscanner/test_zscanner.in
|
2016-02-11 16:31:08 +00:00
|
|
|
@@ -1,15 +1,14 @@
|
|
|
|
#!/bin/sh
|
|
|
|
|
2018-08-31 13:34:57 +00:00
|
|
|
-SOURCE=@top_srcdir@/tests/libzscanner
|
|
|
|
-BUILD=@top_builddir@/tests/libzscanner
|
2016-02-11 16:31:08 +00:00
|
|
|
+SOURCE="."
|
|
|
|
+BUILD="/tmp/knot-test"
|
|
|
|
+mkdir -p "$BUILD"
|
|
|
|
|
2018-08-31 13:34:57 +00:00
|
|
|
-. @top_srcdir@/tests/tap/libtap.sh
|
2016-02-11 16:31:08 +00:00
|
|
|
-
|
|
|
|
-cd "$BUILD"
|
|
|
|
+. ../tap/libtap.sh
|
|
|
|
|
|
|
|
TMPDIR=$(test_tmpdir)
|
|
|
|
TESTS_DIR="$SOURCE"/data
|
|
|
|
-ZSCANNER_TOOL="$BUILD"/zscanner-tool
|
2018-08-31 13:34:57 +00:00
|
|
|
+ZSCANNER_TOOL="$SOURCE"/zscanner-tool
|
2016-02-11 16:31:08 +00:00
|
|
|
|
2019-03-08 12:36:20 +00:00
|
|
|
plan 84
|
2016-02-11 16:31:08 +00:00
|
|
|
|