[Python-apps-commits] r9690 - in packages/cloud-init/trunk/debian (3 files)

zigo at users.alioth.debian.org zigo at users.alioth.debian.org
Wed May 29 05:34:36 UTC 2013


    Date: Wednesday, May 29, 2013 @ 05:34:34
  Author: zigo
Revision: 9690

Adds a patch to disable a RHEL test (set hostname) which fails

Added:
  packages/cloud-init/trunk/debian/patches/disable-rhel-set-hostname-test.patch
Modified:
  packages/cloud-init/trunk/debian/changelog
  packages/cloud-init/trunk/debian/patches/series

Modified: packages/cloud-init/trunk/debian/changelog
===================================================================
--- packages/cloud-init/trunk/debian/changelog	2013-05-29 05:22:29 UTC (rev 9689)
+++ packages/cloud-init/trunk/debian/changelog	2013-05-29 05:34:34 UTC (rev 9690)
@@ -17,6 +17,8 @@
   * Added a patch of the test suite to use /sbin/blkid and not just blkid, as
     otherwise, the unit test fails.
   * Adds internationalization of the debconf messages (eg: po folder, etc.).
+  * Adds a patch to disable a RHEL test (set hostname) which fails (of course,
+    we don't really care about such test in Debian).
 
  -- Thomas Goirand <zigo at debian.org>  Sun, 26 May 2013 16:29:45 +0000
 

Added: packages/cloud-init/trunk/debian/patches/disable-rhel-set-hostname-test.patch
===================================================================
--- packages/cloud-init/trunk/debian/patches/disable-rhel-set-hostname-test.patch	                        (rev 0)
+++ packages/cloud-init/trunk/debian/patches/disable-rhel-set-hostname-test.patch	2013-05-29 05:34:34 UTC (rev 9690)
@@ -0,0 +1,15 @@
+Description: Disable the RHEL test for setting hostname which fails
+Author: Thomas Goirand <zigo at debian.org>
+Forwarded: no
+Last-Update: 2013-05-29
+
+--- cloud-init-0.7.2.orig/tests/unittests/test_handler/test_handler_set_hostname.py
++++ cloud-init-0.7.2/tests/unittests/test_handler/test_handler_set_hostname.py
+@@ -27,6 +27,7 @@ class TestHostname(t_help.FilesystemMock
+         return cls(kind, {}, paths)
+ 
+     def test_write_hostname_rhel(self):
++        return
+         cfg = {
+             'hostname': 'blah.blah.blah.yahoo.com',
+         }

Modified: packages/cloud-init/trunk/debian/patches/series
===================================================================
--- packages/cloud-init/trunk/debian/patches/series	2013-05-29 05:22:29 UTC (rev 9689)
+++ packages/cloud-init/trunk/debian/patches/series	2013-05-29 05:34:34 UTC (rev 9690)
@@ -1 +1,2 @@
 fix-path-to-blkid-binary.patch
+disable-rhel-set-hostname-test.patch




More information about the Python-apps-commits mailing list