Fix bashisms in test scripts
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index 7faeb11..14abd2d 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -270,7 +270,7 @@
 make
 
 msg "test: main suites valgrind (Release)"
-make test
+make memcheck
 
 # Optional part(s)
 # Currently broken, programs don't seem to receive signals
diff --git a/tests/scripts/check-names.sh b/tests/scripts/check-names.sh
index 2bf53c7..ed65306 100755
--- a/tests/scripts/check-names.sh
+++ b/tests/scripts/check-names.sh
@@ -11,7 +11,7 @@
 
 printf "Exported symbols declared in header: "
 UNDECLARED=$( diff exported-symbols identifiers | sed -n -e 's/^< //p' )
-if [ "x$UNDECLARED" == "x" ]; then
+if [ "x$UNDECLARED" = "x" ]; then
     echo "PASS"
 else
     echo "FAIL"
@@ -58,7 +58,7 @@
 TYPOS=$( diff _caps _MBEDTLS_XXX | sed -n 's/^> //p' \
             | egrep -v 'XXX|__|_$|^MBEDTLS_CONFIG_FILE$' || true )
 rm _MBEDTLS_XXX _caps
-if [ "x$TYPOS" == "x" ]; then
+if [ "x$TYPOS" = "x" ]; then
     echo "PASS"
 else
     echo "FAIL"
diff --git a/tests/scripts/list-symbols.sh b/tests/scripts/list-symbols.sh
index ad3f842..82b6cc9 100755
--- a/tests/scripts/list-symbols.sh
+++ b/tests/scripts/list-symbols.sh
@@ -12,10 +12,10 @@
     exit 1
 fi
 
-cp include/mbedtls/config.h{,.bak}
+cp include/mbedtls/config.h include/mbedtls/config.h.bak
 scripts/config.pl full
 CFLAGS=-fno-asynchronous-unwind-tables make clean lib >/dev/null 2>&1
-mv include/mbedtls/config.h{.bak,}
+mv include/mbedtls/config.h.bak include/mbedtls/config.h
 nm -gUj library/libmbedtls.a 2>/dev/null | sed -n -e 's/^_//p' | sort > exported-symbols
 make clean