Commit Graph

9 Commits

Author SHA1 Message Date
Kefu Chai
8ae48637f7 qa/workunits/objectstore/test_fuse.sh: enable experimental features
so we can test bluestore

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-17 11:23:41 +08:00
Dan Mick
6582f42dfd qa/workunits/objectstore/test_fuse.sh: use portable function decl
function f() is illegal in strict POSIX shells, like dash, which is
the default /bin/sh on Ubuntu

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-02-17 11:18:20 +08:00
Dan Mick
ce5d375e61 qa/workunits/objectstore/test_fuse.sh: allow failure
This script currently has a syntax error, but still exits with
success, which is hiding that failure.  Expose it by allowing
the 'sudo' exit code to be the script's exit code.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-02-17 11:18:20 +08:00
Sage Weil
be607ab636 qa/workunits/objecstore/test_fuse.sh: make it work with filestore
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-13 09:40:03 -04:00
Sage Weil
265730aa5a os/FuseStore: only flush if dirty
No need to rewrite the object unless it was changed.

This partially fixes truncate.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-07 18:14:16 -04:00
Sage Weil
b6870a618b qa/workunits/objectstore: fix test_fuse.sh
We switched from @ to # a while back.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-07 18:14:15 -04:00
Sage Weil
15ea140b3b qa/workunits/objectstore/test_fuse.sh: fix root check
$EUID not defined everywhere.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-01 15:49:25 -05:00
Sage Weil
2d602dd84b qa/workunits/objectstore/test_fuse.sh: no bashism
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-29 08:06:38 -05:00
Sage Weil
c3954e69bb qa/workunits/objectstore/test_fuse.sh: simple workunit test
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:14 -05:00