]> git.proxmox.com Git - ceph.git/blame - ceph/qa/workunits/fs/snaps/snap-rm-diff.sh
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / qa / workunits / fs / snaps / snap-rm-diff.sh
CommitLineData
7c673cae
FG
1#!/bin/sh -ex
2
11fdf7f2 3ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
7c673cae
FG
4wget -q http://download.ceph.com/qa/linux-2.6.33.tar.bz2
5mkdir foo
6cp linux* foo
7mkdir foo/.snap/barsnap
8rm foo/linux*
9diff -q foo/.snap/barsnap/linux* linux* && echo "passed: files are identical"
10rmdir foo/.snap/barsnap
11echo OK