projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8894959
)
Put some headers in error messages in single quotes.
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 5 Apr 2009 19:01:19 +0000
(19:01 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 5 Apr 2009 19:01:19 +0000
(19:01 +0000)
tools/privoxy-regression-test.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-regression-test.pl
b/tools/privoxy-regression-test.pl
index
fcdf816
..
29dc7bc
100755
(executable)
--- a/
tools/privoxy-regression-test.pl
+++ b/
tools/privoxy-regression-test.pl
@@
-7,7
+7,7
@@
# A regression test "framework" for Privoxy. For documentation see:
# perldoc privoxy-regression-test.pl
#
# A regression test "framework" for Privoxy. For documentation see:
# perldoc privoxy-regression-test.pl
#
-# $Id: privoxy-regression-test.pl,v 1.16
6 2009/02/27 18:33:39
fk Exp $
+# $Id: privoxy-regression-test.pl,v 1.16
7 2009/04/05 18:58:46
fk Exp $
#
# Wish list:
#
#
# Wish list:
#
@@
-875,7
+875,7
@@
sub check_header_result ($$) {
$header = "REMOVAL" unless defined $header;
l(LL_VERBOSE_FAILURE,
$header = "REMOVAL" unless defined $header;
l(LL_VERBOSE_FAILURE,
- "Ooops. Got:
" . $header . " while expecting: " . $expect_header
);
+ "Ooops. Got:
'" . $header . "' while expecting: '" . $expect_header . "'"
);
}
} elsif ($expect_header eq 'REMOVAL') {
}
} elsif ($expect_header eq 'REMOVAL') {
@@
-883,7
+883,7
@@
sub check_header_result ($$) {
if (defined($header) and $header eq $test{'data'}) {
l(LL_VERBOSE_FAILURE,
if (defined($header) and $header eq $test{'data'}) {
l(LL_VERBOSE_FAILURE,
- "Ooops. Expected removal but:
" . $header . "
is still there.");
+ "Ooops. Expected removal but:
'" . $header . "'
is still there.");
} else {
} else {
@@
-902,7
+902,7
@@
sub check_header_result ($$) {
$header = "REMOVAL" unless defined $header;
l(LL_VERBOSE_FAILURE,
$header = "REMOVAL" unless defined $header;
l(LL_VERBOSE_FAILURE,
- "Ooops. Got:
" . $header . "
while expecting: SOME CHANGE");
+ "Ooops. Got:
'" . $header . "'
while expecting: SOME CHANGE");
}
}
@@
-916,7
+916,7
@@
sub check_header_result ($$) {
$header = "'No matching header'" unless defined $header; # XXX: No header detected to be precise
l(LL_VERBOSE_FAILURE,
$header = "'No matching header'" unless defined $header; # XXX: No header detected to be precise
l(LL_VERBOSE_FAILURE,
- "Ooops. Got:
" . $header . " while expecting: " . $expect_header
);
+ "Ooops. Got:
'" . $header . "' while expecting: '" . $expect_header . "'"
);
}
}
return $success;
}
}
return $success;