Francois Gouget : winetest/gather: Don' t issue an error if outdated is already gone.
Alexandre Julliard
julliard at winehq.org
Mon Jun 12 12:34:33 CDT 2017
Module: tools
Branch: master
Commit: be316759900f806c0cf164df1ea3278a49129578
URL: http://source.winehq.org/git/tools.git/?a=commit;h=be316759900f806c0cf164df1ea3278a49129578
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Mon Jun 12 11:15:12 2017 +0200
winetest/gather: Don't issue an error if outdated is already gone.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
winetest/gather | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/winetest/gather b/winetest/gather
index 2886bc5..fe1dfb4 100755
--- a/winetest/gather
+++ b/winetest/gather
@@ -821,7 +821,8 @@ if (!rename "$filename.new", "$filename")
write_totals(\@groups);
DONE:
-if (!unlink $outdated) {
+if (!unlink $outdated and !$!{ENOENT})
+{
error("unable to unlink '$outdated': $!\n");
exit 3;
}
More information about the wine-cvs
mailing list