mirror of
https://github.com/ceph/ceph
synced 2025-01-22 19:15:41 +00:00
a232d273c1
... filesystems other than 'cephfs'. It is not required to set 'allow_new_snaps' to True to allow snapshot to be created on a filesystem. Remove that setting. Remove 'fs/snaps/snaptest-0.sh' that is racy when running in parallel on an another client that mounted the same file system. Include a similar test in qa/tasks/cephfs/test_snapshots.py Signed-off-by: Ramana Raja <rraja@redhat.com>
11 lines
244 B
Bash
Executable File
11 lines
244 B
Bash
Executable File
#!/bin/sh -ex
|
|
|
|
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
|