aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaram@atc.tcs.com>2016-03-25 10:08:11 +0530
committerSitaram Chamarty <sitaram@atc.tcs.com>2016-03-25 10:08:11 +0530
commit31214b4aac14430812a0ff18d739c8f1934261a8 (patch)
treea11a1ada91be4ade14e8cc85b7b42851e877cb4b
parentoops; minor bug in tproxy (diff)
downloadgitolite-gentoo-31214b4aac14430812a0ff18d739c8f1934261a8.tar.gz
gitolite-gentoo-31214b4aac14430812a0ff18d739c8f1934261a8.tar.bz2
gitolite-gentoo-31214b4aac14430812a0ff18d739c8f1934261a8.zip
minor install/test suite change
perl no longer likes it when you increment a string (where you only care about the number at the start). It does it anyway, but it produces a warning, and gitolite's install script does not like that.
-rw-r--r--src/lib/Gitolite/Test/Tsh.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Gitolite/Test/Tsh.pm b/src/lib/Gitolite/Test/Tsh.pm
index 670178f..6861960 100644
--- a/src/lib/Gitolite/Test/Tsh.pm
+++ b/src/lib/Gitolite/Test/Tsh.pm
@@ -238,7 +238,9 @@ sub rc_lines {
local $_ = shift @lines;
chomp; $_ = trim_ws($_);
+ no warnings;
$line++;
+ use warnings;
# this also sets $testname
next if is_comment_or_empty($_);