2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 18:50:28 +00:00

Add timestamp for every cmd log in xcatteat log

This commit is contained in:
hu-weihua
2017-04-12 21:41:41 -04:00
parent cf06123a0a
commit 21a9d1499c

View File

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