]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
fixup! tests: fixed config tests locking up on error, added test for predict
authorPetr Špaček <petr.spacek@nic.cz>
Fri, 24 Nov 2017 14:48:56 +0000 (15:48 +0100)
committerPetr Špaček <petr.spacek@nic.cz>
Fri, 24 Nov 2017 14:49:03 +0000 (15:49 +0100)
/bin/sh in our image does not support "function" keyword

tests/config/runtest.sh

index d1ad7ae514deb572fca759f3852b24f53063c38d..25b9874d45522e9a3c2dea537a4cb2d45416d255 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
 export TMP_RUNDIR="$(mktemp -d)"
 function finish {
   rm -rf "${TMP_RUNDIR}"