[PATCH] testbot/build: Standardize some Build.pl and WineTest.pl messages.
Francois Gouget
fgouget at codeweavers.com
Tue Jul 10 03:33:04 CDT 2018
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/bin/build/Build.pl | 4 ++--
testbot/bin/build/WineTest.pl | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/testbot/bin/build/Build.pl b/testbot/bin/build/Build.pl
index a3cb170a0..1a69669a2 100755
--- a/testbot/bin/build/Build.pl
+++ b/testbot/bin/build/Build.pl
@@ -223,13 +223,13 @@ while (@ARGV)
$PatchFile = "$DataDir/staging/$Arg";
if (!-r $PatchFile)
{
- Error "patch file '$Arg' is not readable\n";
+ Error "'$Arg' is not readable\n";
$Usage = 2;
}
}
else
{
- Error "the patch filename '$Arg' contains invalid characters\n";
+ Error "the '$Arg' filename contains invalid characters\n";
$Usage = 2;
last;
}
diff --git a/testbot/bin/build/WineTest.pl b/testbot/bin/build/WineTest.pl
index 1c43a9b89..2b2ea2b54 100755
--- a/testbot/bin/build/WineTest.pl
+++ b/testbot/bin/build/WineTest.pl
@@ -252,7 +252,7 @@ while (@ARGV)
}
else
{
- Error "invalid file name '$Arg'\n";
+ Error "the '$Arg' filename contains invalid characters\n";
$Usage = 2;
last;
}
--
2.18.0
More information about the wine-devel
mailing list