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