mirror of
https://github.com/ceph/ceph
synced 2024-12-22 19:34:30 +00:00
183646c919
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
12 lines
307 B
Bash
Executable File
12 lines
307 B
Bash
Executable File
#!/bin/sh -ex
|
|
|
|
ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
|
|
wget -q http://download.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
|