From f1ef12ffa7d7ea18f035fa53163b12b5d694bf5b Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sat, 30 Jun 2018 16:48:54 +0200 Subject: tests: better guarding of variable SKIP_DATEFUDGE_CHECK Signed-off-by: Nikos Mavrogiannopoulos --- tests/scripts/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/common.sh b/tests/scripts/common.sh index 35ac52e5a6..10c25738dd 100644 --- a/tests/scripts/common.sh +++ b/tests/scripts/common.sh @@ -69,7 +69,7 @@ GETPORT='rc=0; myrandom=$(date +%N | sed s/^0*//) check_for_datefudge() { # On certain platforms running datefudge date fails (e.g., x86 datefudge # with x86-64 date app). - if test ${SKIP_DATEFUDGE_CHECK} = 1;then + if test "${SKIP_DATEFUDGE_CHECK}" = 1;then return fi -- cgit v1.2.1