]> git.saurik.com Git - apt.git/blobdiff - test/versiontest.cc
releasing version 0.7.25.3ubuntu1
[apt.git] / test / versiontest.cc
index 7ce32e20b7ef7ed96cc70354be92ccfc506c6bba..4ede4b28000bff0e53fc8e681952b2b94bbfc5c4 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: versiontest.cc,v 1.4 2003/08/18 15:32:38 mdz Exp $
+// $Id: versiontest.cc,v 1.5 2003/08/18 15:55:19 mdz Exp $
 /* ######################################################################
 
    Version Test - Simple program to run through a file and comare versions.
 /* ######################################################################
 
    Version Test - Simple program to run through a file and comare versions.
@@ -14,7 +14,7 @@
    
    ##################################################################### */
                                                                        /*}}}*/
    
    ##################################################################### */
                                                                        /*}}}*/
-#include <system.h>
+#include <apt-pkg/macros.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/version.h>
 #include <apt-pkg/debversion.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/version.h>
 #include <apt-pkg/debversion.h>
@@ -200,7 +200,7 @@ bool RunTest(const char *File)
            Res = 1;
 
       if (Res != Expected)
            Res = 1;
 
       if (Res != Expected)
-        _error->Error("Comparison failed on line %u. '%s' ? '%s' %i != %i",CurLine,A.c_str(),B.c_str(),Res,Expected);
+        _error->Error("Comparison failed on line %u. '%s' ? '%s' %i != %i",CurLine,B.c_str(),A.c_str(),Res,Expected);
    }
 }
 
    }
 }