mirror of
https://github.com/curl/curl.git
synced 2026-05-16 17:16:21 +03:00
runtests.pl: properly print the test if it contains binary zeros
This commit is contained in:
parent
6e7ce9bbfb
commit
43eef423d6
1 changed files with 3 additions and 1 deletions
|
|
@ -3763,7 +3763,9 @@ sub singletest {
|
|||
|
||||
# save the new version
|
||||
open(D, ">$otest");
|
||||
print D @entiretest;
|
||||
foreach my $bytes (@entiretest) {
|
||||
print D pack('a*', $bytes) or die "Failed to print '$bytes': $!";
|
||||
}
|
||||
close(D);
|
||||
|
||||
# in case the process changed the file, reload it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue