From 74c66d29d654749face079ebaa65fe57a6f6fe5b Mon Sep 17 00:00:00 2001 From: Lokesh B V Date: Mon, 5 Nov 2018 12:26:19 +0530 Subject: sgi/common: add current date and time macro Add a reusable macro to get the current date and time. This macro is usable by all the other scripts. Change-Id: I7fe51f6d567c7569f2ed5fae152318d638572e24 Signed-off-by: Lokesh B V --- sgi/sgi_common_util.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'sgi') diff --git a/sgi/sgi_common_util.sh b/sgi/sgi_common_util.sh index a00e6e0..234f850 100644 --- a/sgi/sgi_common_util.sh +++ b/sgi/sgi_common_util.sh @@ -35,6 +35,7 @@ #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# TEST_HARD_TIMEOUT=7200 +CURRENT_DATE_TIME=`date +%Y-%m-%d_%H.%M.%S` # search all the available network interfaces and find an available tap # network interface to use. -- cgit v1.2.3