summaryrefslogtreecommitdiff
path: root/sgi
diff options
context:
space:
mode:
authorLokesh B V <lokesh.bv@arm.com>2018-11-05 12:26:19 +0530
committerThomas Abraham <thomas.abraham@arm.com>2018-12-27 16:04:39 +0530
commit74c66d29d654749face079ebaa65fe57a6f6fe5b (patch)
tree0ec6845aaa533d2f11a0f67647bf88c94449fe87 /sgi
parente4885cf8a3e444a2b226bc4a9af72d6c9055b959 (diff)
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 <lokesh.bv@arm.com>
Diffstat (limited to 'sgi')
-rw-r--r--sgi/sgi_common_util.sh1
1 files changed, 1 insertions, 0 deletions
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.