summaryrefslogtreecommitdiffstats
path: root/gluster/gfapi.py
diff options
context:
space:
mode:
authorPrashanth Pai <ppai@redhat.com>2016-02-23 19:06:44 +0530
committerPrashanth Pai <ppai@redhat.com>2016-02-23 19:19:32 +0530
commit6df97fd49fa9be6394bd066c6c64fd7c06959a77 (patch)
treec1862dc59bb11e3d51b006d0d9f38ed3b6686528 /gluster/gfapi.py
parent0f81a9205f645eb9a0eb0f2d21dd31e2cf7bbddc (diff)
Disable glfs_dup tests
This change also fixes a mismatch in glfs_seek() function signature. Change-Id: I3d336a2fbfec9ba921b253f6d97616485cadec98 Signed-off-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'gluster/gfapi.py')
-rwxr-xr-xgluster/gfapi.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gluster/gfapi.py b/gluster/gfapi.py
index 3a344c8..fa0e1b3 100755
--- a/gluster/gfapi.py
+++ b/gluster/gfapi.py
@@ -93,6 +93,7 @@ class File(object):
raise OSError(err, os.strerror(err))
def dup(self):
+ raise LibgfapiException("glfs_dup is currently broken (BZ 1311146)")
dupfd = api.glfs_dup(self.fd)
if not dupfd:
err = ctypes.get_errno()