Add test name to default path of OS console logs

Change-Id: Ic4d4105cd6c726b5a888dba3467d774560e83d63
Signed-off-by: Charles Paul Hofer <Charles.Hofer@ibm.com>
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/utils.robot b/lib/utils.robot
index 9532788..fc6a488 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -590,7 +590,12 @@
     #            keyword will use the caller's file_path value.  In either
     #            case, the value will be returned.
 
-    ${default_file_path}=  Catenate  /tmp/${OPENBMC_HOST}_os_console.txt
+    ${status}=  Run Keyword And Return Status  Variable Should Exist  ${TEST_NAME}
+
+    ${default_file_path}=  Set Variable If  ${status} == ${TRUE}
+    ...  /tmp/${OPENBMC_HOST}_${TEST_NAME.replace(' ', '')}_os_console.txt
+    ...  /tmp/${OPENBMC_HOST}_os_console.txt
+
     ${log_file_path}=  Set Variable If  '${log_file_path}' == '${EMPTY}'
     ...  ${default_file_path}  ${log_file_path}