aboutsummaryrefslogtreecommitdiff
path: root/tests/testcurl.pl
diff options
context:
space:
mode:
authorTor Arntsen <tor@spacetec.no>2010-03-25 16:43:01 +0100
committerDaniel Stenberg <daniel@haxx.se>2010-03-25 18:28:35 +0100
commit5e1859014baf5a70331cf66018039ee1dc5cb834 (patch)
tree5d617b39bee1592f4f5d917130c83c5545530922 /tests/testcurl.pl
parente1c38791b79097259e2f93d19968340fd08573a2 (diff)
Avoid double newline for the 'last commits' log in testcurl.pl
The backtick command which extracts 'git log' lines come with a newline, so chomp the newline before calling logit(), as the logit function adds a newline by itself.
Diffstat (limited to 'tests/testcurl.pl')
-rwxr-xr-xtests/testcurl.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index 4d099095b..6d9d694ca 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -407,6 +407,7 @@ if ($git) {
my @commits=`git log --pretty=oneline --abbrev-commit -5`;
logit "The most recent git commits:";
for my $l (@commits) {
+ chomp ($l);
logit " $l";
}