]> granicus.if.org Git - pdns/commitdiff
Fix execution path
authorAki Tuomi <cmouse@desteem.org>
Fri, 27 Dec 2013 06:39:21 +0000 (08:39 +0200)
committerAki Tuomi <cmouse@desteem.org>
Fri, 27 Dec 2013 06:39:21 +0000 (08:39 +0200)
modules/remotebackend/testrunner.sh

index 33a0cea5445471417a37837fac593be79be8494c..d0f63c761a0a72ce148d9b7adbce46ec51d2ded2 100755 (executable)
@@ -103,9 +103,9 @@ function stop_unix() {
 
 function run_test() {
  if [ $new_api -eq 0 ]; then
-   $mode
+   ./$mode
  else
-   $mode >> $mode.log
+   ./$mode >> $mode.log
    rv=$?
    if [ $rv -eq 0 ]; then
      echo ":test-result: PASS $1" >> $mode.trs