ceph/qa/workunits/snaps/snaptest-authwb.sh
Greg Farnum ca97fae81f qa: update snaps workunits for allow_new_snaps flag
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>
2013-09-26 18:27:52 +02:00

14 lines
181 B
Bash
Executable File

#!/bin/sh -x
set -e
ceph mds set allow_new_snaps --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