]> git.proxmox.com Git - ceph.git/blame - ceph/qa/workunits/fs/snaps/untar_snap_rm.sh
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / qa / workunits / fs / snaps / untar_snap_rm.sh
CommitLineData
7c673cae
FG
1#!/bin/sh
2
3set -e
4
11fdf7f2 5ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
7c673cae
FG
6
7do_tarball() {
8 wget http://download.ceph.com/qa/$1
9 tar xvf$2 $1
10 mkdir .snap/k
11 sync
12 rm -rv $3
13 cp -av .snap/k .
14 rmdir .snap/k
15 rm -rv k
16 rm $1
17}
18
19do_tarball coreutils_8.5.orig.tar.gz z coreutils-8.5
20do_tarball linux-2.6.33.tar.bz2 j linux-2.6.33