[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepimlibs/kcal/tests
From:       Allen Winter <winter () kde ! org>
Date:       2008-09-14 15:52:41
Message-ID: 1221407561.543762.10603.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 860912 by winterz:

tell diff to ignore whitespace.
mainly we need this because some test files are DOS-formatted
and some are Unix-formatted.  And SVN commit doesn't like DOS-formatted.


 M  +1 -1      data/Compat/MSExchange.ics.ical.fixme  
 M  +1 -1      runsingletestcase.pl  


--- trunk/KDE/kdepimlibs/kcal/tests/data/Compat/MSExchange.ics.ical.fixme \
#860911:860912 @@ -1 +1 @@
-21 known errors
+19 known errors
--- trunk/KDE/kdepimlibs/kcal/tests/runsingletestcase.pl #860911:860912
@@ -66,7 +66,7 @@
   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;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic