]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits: cephtool: take EOPNOTSUPP as an alias of ENOTSUP 5282/head
authorKefu Chai <kchai@redhat.com>
Sat, 18 Jul 2015 16:13:26 +0000 (00:13 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 18 Jul 2015 16:21:23 +0000 (00:21 +0800)
commit017e206cf1e9c6c0bf9e60c13908b7d248c8da76
tree0ec51740ca5b473cafe0407f1fdf483db0bd648e
parent457706837007d4699705e194df28dd95f94287ef
qa/workunits: cephtool: take EOPNOTSUPP as an alias of ENOTSUP

the proble breaks `test_mon_deprecated_commands` on ubuntu precise,
on the python shipped with ubuntu precise, errno.errorcode[95]
evalutes to `EOPNOTSUPP` but not `ENOTSUP`. but these two errnos
are equal in glibc.

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/workunits/cephtool/test.sh