[Lsb-messages] /var/www/bzr/lsb/devel/desktop-test r473: Disable some subtests wrt ipv6 where the behavior/test has changed with qt-4.8 (bug 3271)

Stew Benedict stewb at linux-foundation.org
Tue Feb 21 19:46:41 UTC 2012


------------------------------------------------------------
revno: 473
committer: Stew Benedict <stewb at linux-foundation.org>
branch nick: desktop-test
timestamp: Tue 2012-02-21 14:46:41 -0500
message:
  Disable some subtests wrt ipv6 where the behavior/test has changed with qt-4.8 (bug 3271)
modified:
  lsb-qt/tests/qhostaddress/tst_qhostaddress.cpp
  scripts/package/Makefile
-------------- next part --------------
=== modified file 'lsb-qt/tests/qhostaddress/tst_qhostaddress.cpp'
--- a/lsb-qt/tests/qhostaddress/tst_qhostaddress.cpp	2007-11-16 16:45:13 +0000
+++ b/lsb-qt/tests/qhostaddress/tst_qhostaddress.cpp	2012-02-21 19:46:41 +0000
@@ -139,6 +139,7 @@
 
     // for the format of IPv6 addresses see also RFC 1884
     QTest::newRow("ip6_00")  << QString("FEDC:BA98:7654:3210:FEDC:BA98:7654:3210") << (bool)TRUE << QString("FEDC:BA98:7654:3210:FEDC:BA98:7654:3210") << 6;
+#if 0 // LSB bug 3271
     QTest::newRow("ip6_01")  << QString("1080:0000:0000:0000:0008:0800:200C:417A") << (bool)TRUE << QString("1080:0:0:0:8:800:200C:417A") << 6;
     QTest::newRow("ip6_02")  << QString("1080:0:0:0:8:800:200C:417A") << (bool)TRUE << QString("1080:0:0:0:8:800:200C:417A") << 6;
     QTest::newRow("ip6_03")  << QString("1080::8:800:200C:417A") << (bool)TRUE << QString("1080:0:0:0:8:800:200C:417A") << 6;
@@ -150,6 +151,7 @@
     QTest::newRow("ip6_09")  << QString("::13.1.68.3") << (bool)TRUE <<  QString("0:0:0:0:0:0:D01:4403") << 6;
     QTest::newRow("ip6_10")  << QString("0:0:0:0:0:FFFF:129.144.52.38") << (bool)TRUE << QString("0:0:0:0:0:FFFF:8190:3426") << 6;
     QTest::newRow("ip6_11")  << QString("::FFFF:129.144.52.38") << (bool)TRUE << QString("0:0:0:0:0:FFFF:8190:3426") << 6;
+#endif
 
     QTest::newRow("error_00")  << QString("foobarcom") << (bool)FALSE << QString() << 0;
     QTest::newRow("error_01")  << QString("foo.bar.com") << (bool)FALSE << QString() << 0;
@@ -301,17 +303,23 @@
 #else
     QHostAddress address("fe80::2e0:4cff:fefb:662a%eth0");
     QCOMPARE(address.scopeId(), QString("eth0"));
+#if 0 // LSB bug 3271
     QCOMPARE(address.toString().toLower(), QString("fe80:0:0:0:2e0:4cff:fefb:662a%eth0"));
+#endif
 
     QHostAddress address2("fe80::2e0:4cff:fefb:662a");
     QCOMPARE(address2.scopeId(), QString());
     address2.setScopeId(QString("en0"));
+#if 0 // LSB bug 3271
     QCOMPARE(address2.toString().toLower(), QString("fe80:0:0:0:2e0:4cff:fefb:662a%en0"));
+#endif
 
     address2 = address;
     QCOMPARE(address2.scopeId(), QString("eth0"));
+#if 0 // LSB bug 3271
     QCOMPARE(address2.toString().toLower(), QString("fe80:0:0:0:2e0:4cff:fefb:662a%eth0"));
 #endif
+#endif
 }
 
 #if QT_VERSION >= 0x040200

=== modified file 'scripts/package/Makefile'
--- a/scripts/package/Makefile	2011-08-29 18:52:33 +0000
+++ b/scripts/package/Makefile	2012-02-21 19:46:41 +0000
@@ -3,7 +3,7 @@
 # XXX for now keep this in sync with the specfile
 PACKAGE=lsb-test-desktop
 VERSION=4.1.90
-RELEASE=1
+RELEASE=2
 
 # for pkgck
 DEPS=lsb-tet3-lite lsb-xvfb lsb-python



More information about the lsb-messages mailing list