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:
b6bbf3f
)
Test that we can do embedded 0 bytes in hints.
author
Nicholas Clark
<nick@ccl4.org>
Wed, 12 Apr 2006 16:18:30 +0000
(16:18 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Wed, 12 Apr 2006 16:18:30 +0000
(16:18 +0000)
p4raw-id: //depot/perl@27777
t/op/caller.t
patch
|
blob
|
history
diff --git
a/t/op/caller.t
b/t/op/caller.t
index 082f595380f4ac8abed0718e32ed11ce409a69bd..c32b0445078684e707f6765784185b023640588d 100644
(file)
--- a/
t/op/caller.t
+++ b/
t/op/caller.t
@@
-5,7
+5,7
@@
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
require './test.pl';
- plan( tests => 6
4
);
+ plan( tests => 6
5
);
}
my @c;
@@
-225,3
+225,10
@@
print "# which now works inside evals\n";
eval "is(get_dooot(), 54); 1" or die $@;
EOE
}
+
+{
+ BEGIN {
+ $^H{dooot} = "FIP\0FOP\0FIDDIT\0FAP";
+ }
+ is(get_dooot(), "FIP\0FOP\0FIDDIT\0FAP", "Can do embedded 0 bytes");
+}