[Python-apps-commits] r12347 - in packages/s3ql/trunk/debian (3 files)

nikratio-guest at users.alioth.debian.org nikratio-guest at users.alioth.debian.org
Thu Sep 10 21:19:39 UTC 2015


    Date: Thursday, September 10, 2015 @ 21:19:38
  Author: nikratio-guest
Revision: 12347

Added patches/fix_setattr_test.diff to un-break a unit test
that dependended on undocumented behavior in python3-llfuse (which changed
recently). Closes: #798596.

Added:
  packages/s3ql/trunk/debian/patches/fix_setattr_test.diff
Modified:
  packages/s3ql/trunk/debian/changelog
  packages/s3ql/trunk/debian/patches/series

Modified: packages/s3ql/trunk/debian/changelog
===================================================================
--- packages/s3ql/trunk/debian/changelog	2015-09-10 20:27:07 UTC (rev 12346)
+++ packages/s3ql/trunk/debian/changelog	2015-09-10 21:19:38 UTC (rev 12347)
@@ -1,4 +1,4 @@
-s3ql (2.14+dfsg-1) UNRELEASED; urgency=medium
+s3ql (2.14+dfsg-2) UNRELEASED; urgency=medium
 
   * New upstream release.
   * Dropped patches/check_dev_fuse_perms.diff (integrated upstream).
@@ -9,8 +9,11 @@
     package).
   * Added patches/support_jessie_upgrade.diff (upstream dropped
     compatibility with jessie's S3QL version).
+  * Added patches/fix_setattr_test.diff to un-break a unit test
+    that dependended on undocumented behavior in python3-llfuse (which changed
+    recently). Closes: #798596.
 
- -- Nikolaus Rath <Nikolaus at rath.org>  Wed, 12 Aug 2015 14:57:22 -0700
+ -- Nikolaus Rath <Nikolaus at rath.org>  Thu, 10 Sep 2015 13:40:00 -0700
 
 s3ql (2.13+dfsg-2) unstable; urgency=medium
 

Added: packages/s3ql/trunk/debian/patches/fix_setattr_test.diff
===================================================================
--- packages/s3ql/trunk/debian/patches/fix_setattr_test.diff	                        (rev 0)
+++ packages/s3ql/trunk/debian/patches/fix_setattr_test.diff	2015-09-10 21:19:38 UTC (rev 12347)
@@ -0,0 +1,20 @@
+Description: Fix failure of fs_api_tests::test_setattr with recent python3-llfuse
+Origin: debian
+Forwarded: yes
+Last-Update: <2015-09-10>
+Author: Nikolaus Rath <Nikolaus at rath.org>
+
+This test was relying on some undocumented behavior in Python-LLFUSE that
+has now changed. This patch makes the test working again.
+
+--- a/tests/t3_fs_api.py
++++ b/tests/t3_fs_api.py
+@@ -435,6 +435,8 @@
+         inode_old = self.server.getattr(inode.id).copy()
+ 
+         attr = llfuse.EntryAttributes()
++        for name in attr.__slots__:
++            setattr(attr, name, None)
+         attr.st_mode = self.file_mode()
+         attr.st_uid = randint(0, 2 ** 32)
+         attr.st_gid = randint(0, 2 ** 32)

Modified: packages/s3ql/trunk/debian/patches/series
===================================================================
--- packages/s3ql/trunk/debian/patches/series	2015-09-10 20:27:07 UTC (rev 12346)
+++ packages/s3ql/trunk/debian/patches/series	2015-09-10 21:19:38 UTC (rev 12347)
@@ -1,3 +1,4 @@
+fix_setattr_test.diff
 proc_mount.diff
 clock-granularity.diff
 support_jessie_upgrade.diff




More information about the Python-apps-commits mailing list