ceph/qa/workunits/fs/snaps/snaptest-authwb.sh
Yan, Zheng 4580cf5d79 qa/workunits/snaps: move snap tests into fs sub-directory
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-11-09 11:09:22 +08:00

14 lines
186 B
Bash
Executable File

#!/bin/sh -x
set -e
ceph mds set allow_new_snaps true --yes-i-really-mean-it
touch foo
chmod +x foo
mkdir .snap/s
find .snap/s/foo -executable | grep foo
rmdir .snap/s
rm foo
echo OK