make test: don't test/set parameters in docker

Do not set UDS related system parameters if DOCKER_TEST is set to "True"
as docker environment doesn't contain the necessary /proc/... entries.

Change-Id: Id85e4512c7bba6b3feb6e6fd1fbe1e05aa10a341
Signed-off-by: Klement Sekera <ksekera@cisco.com>
diff --git a/test/sys_req/set_system_parameters.sh b/test/sys_req/set_system_parameters.sh
index 533a02e..aa23634 100755
--- a/test/sys_req/set_system_parameters.sh
+++ b/test/sys_req/set_system_parameters.sh
@@ -20,6 +20,17 @@
 	exit 1
 fi
 
+if test "$DOCKER_TEST" = "True"
+then
+	echo "=============================================================================="
+	echo "DOCKER_TEST is set to '$DOCKER_TEST'."
+	echo "Skipping verification of some system parameters."
+	echo "Make sure these are set properly, otherwise tests might fail."
+	echo "Required values/criteria are in '`readlink -e $file`'."
+	echo "=============================================================================="
+	exit 0
+fi
+
 cat $file | grep -v -e '^#.*$' | grep -v -e '^ *$' | while read line
 do
 	value_file=`echo $line | awk '{print $1}'`