Francois Gouget : testbot/LibvirtTool: Remove the duplicate units after the elapsed time.
Alexandre Julliard
julliard at winehq.org
Wed Jul 11 11:52:07 CDT 2018
Module: tools
Branch: master
Commit: 8b70c57a3b157a4f3e47e48573781f36303dd745
URL: https://source.winehq.org/git/tools.git/?a=commit;h=8b70c57a3b157a4f3e47e48573781f36303dd745
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Wed Jul 11 11:30:52 2018 +0200
testbot/LibvirtTool: Remove the duplicate units after the elapsed time.
The string returned by PrettyElapsed() already includes the time unit
since it's needed for durations over 1 minute to be readable.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
testbot/bin/LibvirtTool.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testbot/bin/LibvirtTool.pl b/testbot/bin/LibvirtTool.pl
index 91fe053..39e8c55 100755
--- a/testbot/bin/LibvirtTool.pl
+++ b/testbot/bin/LibvirtTool.pl
@@ -344,7 +344,7 @@ sub Monitor()
return 1 if (ChangeStatus("offline", "off", "done"));
NotifyAdministrator("The $VMKey VM is working again",
"The $VMKey VM started working again after ".
- PrettyElapsed($Start) ." seconds.");
+ PrettyElapsed($Start) .".");
return 0;
}
}
@@ -483,6 +483,6 @@ else
Error("Unsupported action $Action!\n");
$Rc = 1;
}
-LogMsg "$Action on $VMKey completed in ", PrettyElapsed($Start), " s\n";
+LogMsg "$Action on $VMKey completed in ", PrettyElapsed($Start), "\n";
exit $Rc;
More information about the wine-cvs
mailing list