]> git.saurik.com Git - apt.git/blobdiff - test/libapt/cdromfindpackages_test.cc
CMake: Translations: Build .pot in po binary dir, not project one
[apt.git] / test / libapt / cdromfindpackages_test.cc
index 6121d32b6c7fe6690b251c339841ef7b467c7119..0d8eb1f90eb6344632973a407618e7ba2e339d44 100644 (file)
@@ -24,7 +24,9 @@ class Cdrom : public pkgCdrom {
            std::string &InfoDir) {
         std::string const startdir = SafeGetCWD();
         EXPECT_FALSE(startdir.empty());
+        EXPECT_TRUE(InfoDir.empty());
         bool const result = pkgCdrom::FindPackages(CD, List, SList, SigList, TransList, InfoDir, NULL, 0);
+        EXPECT_FALSE(InfoDir.empty());
         std::sort(List.begin(), List.end());
         std::sort(SList.begin(), SList.end());
         std::sort(SigList.begin(), SigList.end());