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:
commit
80cc015923
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user