mirror of
https://github.com/ceph/ceph
synced 2024-12-18 17:37:38 +00:00
Merge pull request #11702 from wjwithagen/wip-wjw-freebsd-cephtool-test
qa/workunits/cephtool/test.sh: FreeBSD has no distro. Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
37f3897c55
@ -1137,8 +1137,10 @@ function test_mon_osd()
|
||||
expect_false ceph osd find xyz
|
||||
expect_false ceph osd find 0.1
|
||||
ceph --format plain osd find 1 # falls back to json-pretty
|
||||
ceph osd metadata 1 | grep 'distro'
|
||||
ceph --format plain osd metadata 1 | grep 'distro' # falls back to json-pretty
|
||||
if [ `uname` == Linux ]; then
|
||||
ceph osd metadata 1 | grep 'distro'
|
||||
ceph --format plain osd metadata 1 | grep 'distro' # falls back to json-pretty
|
||||
fi
|
||||
ceph osd out 0
|
||||
ceph osd dump | grep 'osd.0.*out'
|
||||
ceph osd in 0
|
||||
|
Loading…
Reference in New Issue
Block a user