Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
kdepimlibs4
r894903.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r894903.diff of Package kdepimlibs4
Subject: merge updated testcase runner From: wstephenson@suse.de Bug: Patch-upstream: 894903 --- kcal/tests/runsingletestcase.pl (revision 894902) +++ kcal/tests/runsingletestcase.pl (revision 894903) @@ -66,8 +66,7 @@ sub checkfile() my $file = shift; my $outfile = shift; - - $cmd = 'diff -u -B -I "^DTSTAMP:[0-9ZT]*$" -I "^LAST-MODIFIED:[0-9ZT]*$" -I "^CREATED:[0-9ZT]*$" '."$file.$id.ref $outfile"; + $cmd = 'diff -u -w -B -I "^DTSTAMP:[0-9ZT]*" -I "^LAST-MODIFIED:[0-9ZT]*" -I "^CREATED:[0-9ZT]*" '."$file.$id.ref $outfile"; if ( !open( DIFF, "$cmd|" ) ) { print STDERR "Unable to run diff command on the files $file.$id.ref and $outfile\n"; exit 1; @@ -77,6 +76,10 @@ sub checkfile() $errorstr = ""; while ( <DIFF> ) { $line = $_; + next if ($line =~ m/^[+-](DTSTAMP|LAST-MODIFIED|CREATED)/); + next if ($line =~ m/^[+-]\s*$/); + next if ($line =~ m/No newline at end of file/); + next if ($outfile =~ m+/Compat/+ && $line =~ m/^[+-](SEQUENCE|PRIORITY|ORGANIZER:MAILTO):/); if ( $line =~ /^[+-][^+-]/ ) { # it's an added/deleted/modified line. Register it as an error $errors++; Index: kcal/tests/runsingletestcase.pl ===================================================================
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor