2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 11:10:24 +00:00

Merge pull request #2872 from hu-weihua/timestamp

Add timestamp to every cmd for xcattest failedcases log
This commit is contained in:
neo954
2017-04-17 13:31:31 +08:00
committed by GitHub

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;