projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5984beb
)
Some diagnostic output was giving warnings in op/pack.t
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Tue, 31 Oct 2006 16:02:03 +0000
(16:02 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Tue, 31 Oct 2006 16:02:03 +0000
(16:02 +0000)
under UTF-8 locales, and warnings where fatal by default.
Make them non-fatal for diagnostics.
p4raw-id: //depot/perl@29175
t/op/pack.t
patch
|
blob
|
history
diff --git
a/t/op/pack.t
b/t/op/pack.t
index
d58a87d
..
f37c73f
100755
(executable)
--- a/
t/op/pack.t
+++ b/
t/op/pack.t
@@
-711,7
+711,10
@@
sub byteorder
skip "cannot pack '$format' on this perl", 5
if is_valid_error($@);
- print "# [$value][$nat][$be][$le][$@]\n";
+ {
+ use warnings qw(NONFATAL utf8);
+ print "# [$value][$nat][$be][$le][$@]\n";
+ }
SKIP: {
skip "cannot compare native byteorder with big-/little-endian", 1