]> git.saurik.com Git - apt.git/blobdiff - test/libapt/parsedepends_test.cc
honor option to disable pulses for the testcases
[apt.git] / test / libapt / parsedepends_test.cc
index b5d92d9d2b85db315ff24b0984a178bdceffec9a..e95016240cabd24c71dfe2cc876c413e03bd615e 100644 (file)
@@ -10,7 +10,7 @@ int main(int argc,char *argv[]) {
        unsigned int Null = 0;
        bool StripMultiArch = true;
        bool ParseArchFlags = false;
-       _config->Set("APT::Architecture","dsk");
+       _config->Set("APT::Architecture","amd64");
 
        const char* Depends =
                "debhelper:any (>= 5.0), "
@@ -19,13 +19,13 @@ int main(int argc,char *argv[]) {
                "libcurl4-gnutls-dev:native | libcurl3-gnutls-dev (>> 7.15.5), "
                "debiandoc-sgml, "
                "apt (>= 0.7.25), "
-               "not-for-me [ !dsk ], "
-               "only-for-me [ dsk ], "
+               "not-for-me [ !amd64 ], "
+               "only-for-me [ amd64 ], "
                "any-for-me [ any ], "
                "not-for-darwin [ !darwin-any ], "
-               "cpu-for-me [ any-dsk ], "
+               "cpu-for-me [ any-amd64 ], "
                "os-for-me [ linux-any ], "
-               "cpu-not-for-me [ any-amd64 ], "
+               "cpu-not-for-me [ any-armel ], "
                "os-not-for-me [ kfreebsd-any ], "
                "overlord-dev:any (= 7.15.3~) | overlord-dev:native (>> 7.15.5), "
        ;
@@ -176,7 +176,7 @@ test:
        equals("7.15.3~", Version);
        equals(Null | pkgCache::Dep::Equals | pkgCache::Dep::Or, Op);
 
-       Start = debListParser::ParseDepends(Start, End, Package, Version, Op, ParseArchFlags, StripMultiArch);
+       debListParser::ParseDepends(Start, End, Package, Version, Op, ParseArchFlags, StripMultiArch);
        if (StripMultiArch == true)
                equals("overlord-dev", Package);
        else