previously, the tests have been hardcoded to use a manually installed version of ceph. The attached scripts allow the user to create a ceph cluster from a package managed version of ceph which requires no extra configuration. Change-Id: I22e4ea9eb95f1e84a968ee2bce6133568fda33a8 Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/370399 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
13 lines
194 B
Bash
Executable File
13 lines
194 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -x
|
|
|
|
base_dir=`pwd`
|
|
home_folder=${base_dir}/ceph
|
|
image=${base_dir}/../../../output/ceph_raw.img
|
|
pkill -9 ceph
|
|
sleep 3
|
|
umount /dev/loop200p2
|
|
rm -rf $home_folder
|
|
rm $image
|