2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 17:46:38 +00:00

Merge pull request #2860 from hu-weihua/xcattest

Add timestamp for every cmd running in xcatteat log to convenient debug in the future
This commit is contained in:
neo954 2017-04-13 11:08:47 +08:00 committed by GitHub
commit 80cc015923

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;