From f722e65f0e379186243fbe54331ec72089a9441e Mon Sep 17 00:00:00 2001
From: look <eeslook@163.com>
Date: Wed, 30 Apr 2014 09:55:44 +0800
Subject: [PATCH][SIGNED-OFF 2/2] fix runltp bad variable name error

fix bugs that bad variable name in runltp script for
DEFAULT_FILE_NAME_GENERATION_TIME when ltp running at different
language OS(chinese), the command "date + %b" will get output
like " 4yue", it can not be a variable name becasue it contains a space.

Signed-off-by: look <eeslook@163.com>
---
 runltp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/runltp b/runltp
index 9cb5fe8..0333886 100755
--- a/runltp
+++ b/runltp
@@ -214,7 +214,7 @@ main()
     local EMAIL_TO=""
     local TAG_RESTRICT_STRING=""
     local PAN_COMMAND=""
-    local DEFAULT_FILE_NAME_GENERATION_TIME=`date +"%Y_%b_%d-%Hh_%Mm_%Ss"`
+    local DEFAULT_FILE_NAME_GENERATION_TIME=`date +"%Y_%m_%d-%Hh_%Mm_%Ss"`
     local scenfile=
 
     version_date=$(cat "$LTPROOT/Version")
-- 
1.7.4.4

