ceph/qa/workunits/mon/osd.sh
Kefu Chai 4b0e2c8ed4 qa: fix typos
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-09-21 12:41:42 +08:00

25 lines
326 B
Bash
Executable File

#!/bin/sh -x
set -e
ua=`uuidgen`
ub=`uuidgen`
# should 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 1000
na2=`ceph osd create $ua`
echo OK