diff options
author | Enrico Zini <enrico@enricozini.org> | 2010-07-14 23:09:08 +0100 |
---|---|---|
committer | Enrico Zini <enrico@enricozini.org> | 2010-07-14 23:09:08 +0100 |
commit | 31f61126dac7bcfa0fd10bed289ae1642f90c112 (patch) | |
tree | 70e653a29d529508962ebf5776c51a72271aafb5 | |
parent | e4bd18c706aae19e6984424bfdb8d1a18de27c50 (diff) | |
download | libept-31f61126dac7bcfa0fd10bed289ae1642f90c112.tar.gz |
Added debugging prints to help debug #587764
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | ept/apt/apt.test.h | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b609688..fd9a463 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ include( FindDoxygen ) add_custom_target( unit ) -set( EPT_VERSION "1.0.2" ) +set( EPT_VERSION "1.0.2+test0" ) set( APT_INCLUDES "/usr/include/" CACHE STRING "apt include path" ) set( APT_LINKDIRS "/usr/lib/" CACHE STRING "apt library path" ) set( OPT_FLAGS "-O0 -g" CACHE STRING "optimization level" ) diff --git a/debian/changelog b/debian/changelog index db1e753..5744934 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +libept (1.0.2+test0) experimental; urgency=low + + * Added debugging prints to help debug #587764 + + -- Enrico Zini <enrico@debian.org> Wed, 14 Jul 2010 23:08:30 +0100 + libept (1.0.2) unstable; urgency=low * Fixed a potential read-past-end-of-buffer error. diff --git a/ept/apt/apt.test.h b/ept/apt/apt.test.h index cc9602e..0937411 100644 --- a/ept/apt/apt.test.h +++ b/ept/apt/apt.test.h @@ -111,9 +111,11 @@ struct TestApt : AptTestEnvironment { { string pkg("sp"); Version ver = apt.candidateVersion(pkg); + cerr << "CAND VER " << ver.name() << " v " << ver.version() << endl; assert(apt.validate(ver) == ver); string record = apt.rawRecord(ver); + cerr << "GOT RECORD:" << endl << record << "---------" << endl; assert(record.find("Package: sp") != string::npos); assert(record.find("Section: text") != string::npos); |