diff options
-rwxr-xr-x | qa/workunits/cephtool/test.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index a26adcdd2aa..d759d675276 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -172,6 +172,13 @@ done id=`ceph osd create` ceph osd lost $id --yes-i-really-mean-it ceph osd rm $id + +uuid=`uuidgen` +id=`ceph osd create $uuid` +id2=`ceph osd create $uuid` +[ "$id" = "$id2" ] +ceph osd rm $id + ceph osd ls ceph osd lspools | grep data ceph osd map data foo | grep 'pool.*data.*object.*foo.*pg.*up.*acting' |