ceph/qa/workunits/snaps/untar_snap_rm.sh
John Spray ce0e3bd188 qa/workunits/snaps: New allow_new_snaps syntax
These were probably just obscuring other failures.

Reviewed-by: Sage Weil <sage@inktank.com>
Signed-off-by: John Spray <john.spray@inktank.com>
2014-02-05 21:00:12 +00:00

21 lines
346 B
Bash
Executable File

#!/bin/sh
set -e
ceph mds set allow_new_snaps true --yes-i-really-mean-it
do_tarball() {
wget http://ceph.com/qa/$1
tar xvf$2 $1
mkdir .snap/k
sync
rm -rv $3
cp -av .snap/k .
rmdir .snap/k
rm -rv k
rm $1
}
do_tarball coreutils_8.5.orig.tar.gz z coreutils-8.5
do_tarball linux-2.6.33.tar.bz2 j linux-2.6.33