2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

Add timestamp to every cmd for xcattest failedcases log

This commit is contained in:
hu-weihua 2017-04-17 01:15:42 -04:00
parent a23913ab41
commit a0f4ddaf9e

View File

@ -909,7 +909,7 @@ sub runcase
my $runstart = timelocal(localtime());
my $runstartstr = scalar(localtime());
log_this("\nRUN:$cmd [$runstartstr]");
push(@record, "\nRUN:$cmd");
push(@record, "\nRUN:$cmd [$runstartstr]");
@output = &runcmd($cmd);
$rc = $::RUNCMD_RC;