diff --git a/tests/testrun.sh b/tests/testrun.sh
index 74701fa..0f1d9aa 100755
--- a/tests/testrun.sh
+++ b/tests/testrun.sh
@@ -1,4 +1,4 @@
-#!/bin/sh -x
+#!/bin/bash -x
 
 OS_ARCH=`uname -o`
 OS_KERNEL=`uname -s`
@@ -769,7 +769,7 @@ execEncTest() {
 rm -rf $tmpfile $tmpfile.2 $tmpfile.3
 
 # run tests
-source "$testfile"
+. "$testfile"
 
 # calculate success
 percent_success=0
