ceph/qa
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
..
btrfs qa/btrfs/test_rmdir_async_snap 2012-02-20 10:56:42 -08:00
client qa/client/gen-1774.sh 2012-01-12 12:59:07 -08:00
fs qa/fs/.gitignore 2013-07-26 21:06:14 -07:00
libceph trivial_libceph: need O_RDWR 2012-02-07 21:56:51 -08:00
mds qa: add a slightly more stressful anchortable test 2012-01-04 17:11:36 -08:00
mon/bootstrap qa: fix mon single_host_multi.sh test 2012-05-21 13:15:23 -07:00
qa_scripts librbd: better error when unprotect fails on unprotected snap 2013-12-31 16:26:07 -08:00
rbd
rgw
workunits mon: s/ENOSYS/ENOTSUP/ 2014-02-07 12:41:42 +01:00
loopall.sh
Makefile qa: move fs test binary into workunits dir so teuthology can build it 2013-07-05 11:16:08 -07:00
run_xfstests_qemu.sh qa: don't run racy xfstest 008 2013-11-01 18:43:36 -07:00
run_xfstests.sh qa: don't run racy xfstest 008 2013-11-01 18:43:36 -07:00
runallonce.sh
runoncfuse.sh
runonkclient.sh
setup-chroot.sh