mirror of
https://github.com/ceph/ceph
synced 2024-12-27 05:53:20 +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>
12 lines
287 B
Bash
Executable File
12 lines
287 B
Bash
Executable File
#!/bin/sh -ex
|
|
|
|
ceph mds set allow_new_snaps --yes-i-really-mean-it
|
|
wget -q http://ceph.com/qa/linux-2.6.33.tar.bz2
|
|
mkdir foo
|
|
cp linux* foo
|
|
mkdir foo/.snap/barsnap
|
|
rm foo/linux*
|
|
diff -q foo/.snap/barsnap/linux* linux* && echo "passed: files are identical"
|
|
rmdir foo/.snap/barsnap
|
|
echo OK
|