mirror of https://github.com/ceph/ceph
Merge pull request #5282 from ceph/wip-fix-test-mon_deprecated_commands
qa/workunits: cephtool: take EOPNOTSUPP as an alias of ENOTSUP Reviewed-by: Loic Dachary <ldachary@redhat.com>
This commit is contained in:
commit
64d37b70a6
|
@ -1632,13 +1632,13 @@ function test_mon_deprecated_commands()
|
|||
|
||||
ceph tell mon.a injectargs '--mon-debug-deprecated-as-obsolete'
|
||||
expect_false ceph tell mon.a compact 2> $TMPFILE
|
||||
check_response "ENOTSUP: command is obsolete"
|
||||
check_response "\(EOPNOTSUPP\|ENOTSUP\): command is obsolete"
|
||||
|
||||
expect_false ceph tell mon.a scrub 2> $TMPFILE
|
||||
check_response "ENOTSUP: command is obsolete"
|
||||
check_response "\(EOPNOTSUPP\|ENOTSUP\): command is obsolete"
|
||||
|
||||
expect_false ceph tell mon.a sync force 2> $TMPFILE
|
||||
check_response "ENOTSUP: command is obsolete"
|
||||
check_response "\(EOPNOTSUPP\|ENOTSUP\): command is obsolete"
|
||||
|
||||
ceph tell mon.a injectargs '--no-mon-debug-deprecated-as-obsolete'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue