From 225366d408ede602c155d04fd7e01b79d8a1ae15 Mon Sep 17 00:00:00 2001 From: Michael Andres Date: Fri, 5 Apr 2013 16:06:46 +0200 Subject: [PATCH] Adapt vendor check --- tests/zypp/Vendor_test.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/zypp/Vendor_test.cc b/tests/zypp/Vendor_test.cc index 4aad252..870a7b7 100644 --- a/tests/zypp/Vendor_test.cc +++ b/tests/zypp/Vendor_test.cc @@ -38,6 +38,9 @@ BOOST_AUTO_TEST_CASE(vendor_test1) // but "opensuse build service" gets its own class: BOOST_REQUIRE( !VendorAttr::instance().equivalent("opensuse build service", "suse") ); BOOST_REQUIRE( !VendorAttr::instance().equivalent("opensuse build service", "opensuse") ); - BOOST_REQUIRE( VendorAttr::instance().equivalent("opensuse build service", "opensuse build service 2") ); + // bnc#812608: All opensuse projects get their own class + BOOST_REQUIRE( !VendorAttr::instance().equivalent("opensuse-education", "suse") ); + BOOST_REQUIRE( !VendorAttr::instance().equivalent("opensuse-education", "opensuse") ); + BOOST_REQUIRE( !VendorAttr::instance().equivalent("opensuse-education", "opensuse build service") ); } -- 2.7.4