bdd5ba0910
This doesn't need to be in the output directory - we don't want to publish it as part of the build results. Change-Id: Iee639a3f21f9ca5cc543d3cc06d559b21d5ecc68 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/373842 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Seth Howell <seth.howell5141@gmail.com>
16 lines
222 B
Bash
Executable File
16 lines
222 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -x
|
|
|
|
base_dir=`pwd`
|
|
home_folder=${base_dir}/ceph
|
|
image=/var/tmp/ceph_raw.img
|
|
dev_backend=/dev/ceph
|
|
|
|
pkill -9 ceph
|
|
sleep 3
|
|
umount /dev/loop200p2
|
|
losetup -d $dev_backend
|
|
rm -rf $home_folder
|
|
rm $image
|