ceph/qa/workunits
Loic Dachary 302fc924fe mon: s/ENOSYS/ENOTSUP/
On Linux ENOTSUP is remapped
/usr/include/x86_64-linux-gnu/bits/errno.h

    /* Linux has no ENOTSUP error code.  */
    # define ENOTSUP EOPNOTSUPP

and should have different values on other operating systems. On Ubuntu
precise the string returned when translating the error value of ENOTSUP
or EOPNOTSUPP is always EOPNOTSUPP but on Ubuntu saucy it is always
ENOTSUP.

Replace ENOSYS with ENOTSUP because the expected semantic is very
similar and modify the test to not check on the string translation of
the error.

Rework the check_response shell function to optionaly check the return
code. The erasure coded pool size change test verifies the error message
only but not the error code.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-02-07 12:41:42 +01:00
..
caps
cephtool mon: s/ENOSYS/ENOTSUP/ 2014-02-07 12:41:42 +01:00
cls cls/hello: hello, world rados class 2013-08-15 17:21:29 -07:00
direct_io
erasure-code osd: erasure code benchmark workunit 2013-12-20 12:15:44 +01:00
filestore
fs qa/workunits/fs/multiclient_sync_read_eof.py 2013-08-13 21:28:35 -07:00
hadoop-internal-tests
hadoop-wordcount
kclient
libcephfs
libcephfs-java
misc Merge pull request #691 from ceph/wip-dirfrag 2013-10-17 08:35:38 -07:00
mon qa/workunits/mon/crush_ops.sh: fix in-use rule rm test 2013-12-28 10:22:18 -08:00
osdc
rados qa: test rados listomapvals with >512 keys 2013-12-30 13:36:37 -08:00
rbd qa: fix rbd cli tests checking size 2013-10-03 15:16:59 -07:00
rename
rest rest: add a few rest api tests 2014-02-03 17:50:32 -08:00
restart
rgw removing rgw_tests.sh 2014-01-21 18:44:57 -08:00
snaps qa: update snaps workunits for allow_new_snaps flag 2013-09-26 18:27:52 +02:00
suites Go back to $PWD in fsstress.sh if compiling from source. 2013-10-08 12:05:02 -07:00
false.sh
kernel_untar_build.sh
Makefile