projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bea02dd
)
make the diffs with 'diff -u' to make them nicer and easier to read
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 30 Apr 2003 17:15:00 +0000
(17:15 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 30 Apr 2003 17:15:00 +0000
(17:15 +0000)
tests/getpart.pm
patch
|
blob
|
history
diff --git
a/tests/getpart.pm
b/tests/getpart.pm
index
7928752
..
6935f9e
100644
(file)
--- a/
tests/getpart.pm
+++ b/
tests/getpart.pm
@@
-184,8
+184,8
@@
sub loadarray {
sub showdiff {
my ($firstref, $secondref)=@_;
- my $file1=".
array1
";
- my $file2=".
array2
";
+ my $file1=".
generated
";
+ my $file2=".
expected
";
open(TEMP, ">$file1");
for(@$firstref) {
@@
-198,8
+198,7
@@
sub showdiff {
print TEMP $_;
}
close(TEMP);
-
- my @out = `diff $file1 $file2`;
+ my @out = `diff -u $file2 $file1`;
unlink $file1, $file2;
return @out;