mirror of
https://github.com/ceph/ceph
synced 2025-02-09 12:00:04 +00:00
25 lines
328 B
Bash
25 lines
328 B
Bash
|
#!/bin/sh -x
|
||
|
|
||
|
set -e
|
||
|
|
||
|
ua=`uuidgen`
|
||
|
ub=`uuidgen`
|
||
|
|
||
|
# shoudl get same id with same uuid
|
||
|
na=`ceph osd create $ua`
|
||
|
test $na -eq `ceph osd create $ua`
|
||
|
|
||
|
nb=`ceph osd create $ub`
|
||
|
test $nb -eq `ceph osd create $ub`
|
||
|
test $nb -ne $na
|
||
|
|
||
|
ceph osd rm $na
|
||
|
ceph osd rm $na
|
||
|
ceph osd rm $nb
|
||
|
ceph osd rm 123123
|
||
|
|
||
|
na2=`ceph osd create $ua`
|
||
|
|
||
|
echo OK
|
||
|
|