aports/testing/ceph/allperms.patch
2018-08-17 13:40:16 +00:00

14 lines
381 B
Diff

--- ceph-11.1.1/src/test/libcephfs/test.cc.orig 2017-01-16 00:17:44.154815630 +0000
+++ ceph-11.1.1/src/test/libcephfs/test.cc 2017-01-16 00:18:09.642520993 +0000
@@ -31,6 +31,10 @@
#include <map>
#include <vector>
+#ifndef ALLPERMS
+#define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)
+#endif
+
TEST(LibCephFS, OpenEmptyComponent) {
pid_t mypid = getpid();