You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
580 B

  1. diff --git a/tests/libzscanner/test_zscanner.in b/tests/libzscanner/test_zscanner.in
  2. index 2c0c27526..72b2124c7 100644
  3. --- a/tests/libzscanner/test_zscanner.in
  4. +++ b/tests/libzscanner/test_zscanner.in
  5. @@ -1,15 +1,14 @@
  6. #!/bin/sh
  7. -SOURCE=@top_srcdir@/tests/libzscanner
  8. -BUILD=@top_builddir@/tests/libzscanner
  9. +SOURCE="."
  10. +BUILD="/tmp/knot-test"
  11. +mkdir -p "$BUILD"
  12. -. @top_srcdir@/tests/tap/libtap.sh
  13. -
  14. -cd "$BUILD"
  15. +. ../tap/libtap.sh
  16. TMPDIR=$(test_tmpdir)
  17. TESTS_DIR="$SOURCE"/data
  18. -ZSCANNER_TOOL="$BUILD"/zscanner-tool
  19. +ZSCANNER_TOOL="$SOURCE"/zscanner-tool
  20. plan 84