mirror of
https://github.com/ceph/ceph
synced 2025-01-30 23:13:44 +00:00
ca97fae81f
Test that it works in snaptest-0.sh, and set the flag in all the snap workunits so they continue to function. Signed-off-by: Greg Farnum <greg@inktank.com> Reviewed-by: Loic Dachary <loic@dachary.org>
21 lines
341 B
Bash
Executable File
21 lines
341 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
ceph mds set allow_new_snaps --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
|