Commit Graph

55 Commits

Author SHA1 Message Date
Sage Weil
5666fd61d6 qa/workunits: include extension for nose tests
When you have a relative path you have to include the extension.
Weird.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-19 14:08:11 -05:00
Sage Weil
cf294777ea qa/workunits: use relative path instead of wget from git
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-15 15:10:28 -05:00
John Spray
77177530f2 mds: enable rmxattr on pool_namespace attrs
So that a user has a natural way of undoing a setxattr
which set a pool_namespace.

Fixes: http://tracker.ceph.com/issues/17797
Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-04 13:00:05 +00:00
Kefu Chai
75edfbba34 Merge pull request #8751 from flyd1005/wip-fix-typo
doc: fix typos

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-10-24 11:15:12 +08:00
Anirudha Bose
724febf5ca qa/workunits: PEP8ify
Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
2016-08-20 22:30:54 +05:30
Anirudha Bose
922c977c8b qa/workunits: Python 3 compat fixes for fs/misc/direct_io.py
Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
2016-08-20 22:30:54 +05:30
Anirudha Bose
0b32fd50f8 qa/workunits: Python 3 compat fixes for fs/multiclient_sync_read_eof.py
Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
2016-08-19 11:29:01 +05:30
Anirudha Bose
c148526462 qa/workunits: Python 3 compat fixes for fs/misc/filelock_deadlock.py
Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
2016-08-19 11:22:26 +05:30
Anirudha Bose
b8233cc77e qa/workunits: Python 3 compat fixes for fs/misc/filelock_interrupt.py
Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
2016-08-19 11:22:26 +05:30
Yan, Zheng
16f7d7c71e qa/workunits/fs: fix expect_failure function in test scripts
The origin expect_failure function return 0 regardness of command's
return value.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-07-15 09:11:49 +08:00
Yan, Zheng
ad02795ad5 qa/workunits/fs/misc: test for setting empty ACL
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-06-01 17:42:24 +08:00
Li Peng
49f1dae568 qa: fix typo
Signed-off-by: Li Peng <lip@dtdream.com>
2016-04-26 15:56:26 +08:00
Gregory Farnum
6bbc6b50bb Merge pull request #7901 from jcsp/wip-pycephfs-fixes
libcephfs: fix python tests and fix getcwd on missing dir

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2016-03-23 17:05:22 -07:00
Gregory Farnum
fcce59e46d Merge pull request #7713 from ukernel/wip-filelock-deadlock
Wip filelock deadlock

Reviewed-by: John Spray <john.spray@redhat.com>
2016-03-15 12:25:56 -07:00
John Spray
aed1872a1c qa: add test_python for cephfs
Borrowed this from rados/test_python.  It's for
invoking the test that lives in src/test/pybind/test_cephfs.py

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-14 12:32:56 +00:00
Sage Weil
c31e94d3b5 qa/workunits/fs/misc/layout_vxattrs: test layout.pool_namespace
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:18:17 -05:00
Sage Weil
58a00e01f5 qa/workunits/fs/misc/layout_vxattr.sh: detect data pool name
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:16:58 -05:00
Yan, Zheng
7987e545cd qa/workunits/fs/misc: Add workunit for file lock deadlock detection
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-02-22 10:34:59 +08:00
Greg Farnum
12a55d6b1a rstats: enable by default on client; move test workunit to its own dir
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-02-18 12:44:22 -08:00
Yan, Zheng
8a6f1f7fba qa/workunits/fs/misc: Add a workunit for tar kernel Documents
the test fails if some files were changed while being archived

Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-01-27 23:45:00 +08:00
Gregory Farnum
ea3fd2e58d Merge pull request #6496 from ceph/wip-fs-snaptests
qa/workunits/snaps: move snap tests into fs sub-directory

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-01-19 11:38:15 -08:00
Yan, Zheng
da52b5e4de Workunits : fs/misc/: check if cache is used in direct IO
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-11-26 22:59:31 +08:00
Yan, Zheng
4580cf5d79 qa/workunits/snaps: move snap tests into fs sub-directory
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-11-09 11:09:22 +08:00
John Spray
278a6ae097 qa: add fs layout case for stripe_size decrease
The case fixed by commit:
 mds: fix setting whole layout in one vxattr

Signed-off-by: John Spray <john.spray@redhat.com>
2015-08-06 14:59:36 +01:00
Yazen Ghannam
d3dbfffefb Workunits : fs/misc/chmod.sh : Include ACL characters in permission check.
Signed-off-by: Yazen Ghannam <yazen.ghannam@linaro.org>
2015-07-09 04:36:28 -04:00
Yan, Zheng
905c31e78b qa: use "sudo rmdir" to remove test data of multiple_rsync.sh
Fixes: #12019
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-06-16 15:06:22 +08:00
John Spray
832f33ad5e qa: use "sudo cp" in multiple_rsync.sh
VirtualBox has some files with weird
permissions in its /usr/lib, which was
tripping up this usually-safe operation
when run as an unprivileged user.

Fixes: #11959
Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-11 11:11:44 +01:00
John Spray
0de68ebbe5 qa: fix multiple_rsync.sh to avoid using /usr/ directly
While we're at it, take only /usr/lib instead of all of /usr
to keep the overall file count more modest.

Fixes: #11807
Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-02 18:53:14 +01:00
Yan, Zheng
4ececa3dc4 qa/workunits/fs/misc: fix filelock_interrupt.py
Handle the case that kernel does not support fcntl.F_OFD_SETLK.
Also fix the code that checks if fnctl fails with errno == EINTR.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-03-02 21:08:03 +08:00
John Spray
a0af5de972 qa: move fs quota to its own dir
This is because running fs/misc on a kclient
should not include quota (quota not supported
on kernel client).

Fixes: #10579
Signed-off-by: John Spray <john.spray@redhat.com>
2015-01-21 14:36:58 +00:00
John Spray
b578a53b03 qa: set -e explicitly in quota test
Previously was set in hashbang, which meant
that "./quota.sh" was OK, but "sh ./quota.sh" would
just run through ignoring errors.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-01-13 14:58:57 +00:00
John Spray
61126a2d71 Merge pull request #3199 from ceph/wip-qa-empty-xattr
qa: test zero size xattr

Reviewed-by: John Spray <john.spray@redhat.com>
2014-12-19 17:03:25 +00:00
Yan, Zheng
a806778322 qa: test zero size xattr
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2014-12-18 14:43:54 +08:00
Yunchuan Wen
e8063a1a63 test: modify cephfs quota test case
Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
2014-12-10 15:11:17 +08:00
Yunchuan Wen
00da974431 test: extend quota test case
Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
2014-11-24 16:29:35 +08:00
Sage Weil
59d8c947dd qa/workunits/fs/misc/quota.sh: simple quota test
Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-12 21:10:37 -08:00
Greg Farnum
abc995b6b4 qa/workunits/fs/misc: combine sudo and echo effectively
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-06 17:59:22 -08:00
Greg Farnum
3aa7797741 qa: use sudo even more when rsyncing /usr
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-06 17:48:01 -08:00
Greg Farnum
fa07c04231 qa: use sudo when rsyncing /usr so we can read everything
Signed-off-by: Greg Farnum <greg@inktank.com>
2014-10-22 17:11:32 -07:00
Yan, Zheng
ac92c455a9 qa/workunits/fs/misc: Add a workunit for file lock interruption
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2014-10-15 12:46:31 +08:00
Yan, Zheng
fa539b9c3f qa/workunits/fs/misc: fix syntax error
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2014-10-10 09:30:29 +08:00
Yan, Zheng
59c89760c7 qa/workunits/fs/misc: Add a workunit for ACL
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2014-09-18 14:20:59 +08:00
John Spray
82d3fcc7c7 qa: Update data pool ID for vxattrs test
Signed-off-by: John Spray <john.spray@redhat.com>
2014-07-01 18:40:02 +01:00
Greg Farnum
405063b16e workunits: provide some output in the dirfrag.sh test
Signed-off-by: Greg Farnum <greg@inktank.com>
2014-05-14 14:20:19 -07:00
Sage Weil
4f9f7f8789 qa/workunits/fs/misc/layout_vxattrs: ceph.file.layout is not listed
As of 08a3d6bd42.  A similar change was made
in the kernel.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-29 14:23:21 -07:00
Sage Weil
5873b0f03c Merge remote-tracking branch 'gh/wip-da-SCA-firefly-20140304'
Reviewed-by: Sage Weil <sage@inktank.com>
2014-03-14 11:42:30 -07:00
Sage Weil
c5b557ee88 qa/workunits: misc -> fs/misc
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-13 17:38:08 -07:00
Danny Al-Gaaf
3a786caddc test_o_trunc.c: fix indentation to kernel style (tabs, 8 spaces)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-03-04 15:43:18 +01:00
Danny Al-Gaaf
f83690949f test_o_trunc.c: reduce scope of some variables
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-03-04 15:43:18 +01:00
Danny Al-Gaaf
c2f3f2b59e close file descriptor in error case
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-03-04 15:43:18 +01:00