mirror of
https://github.com/ceph/ceph
synced 2025-01-24 03:53:54 +00:00
183646c919
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
16 lines
242 B
Bash
Executable File
16 lines
242 B
Bash
Executable File
#!/bin/sh -x
|
|
|
|
ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
|
|
|
|
mkdir .snap/foo
|
|
|
|
echo "We want ENOENT, not ESTALE, here."
|
|
for f in `seq 1 100`
|
|
do
|
|
stat .snap/foo/$f 2>&1 | grep 'No such file'
|
|
done
|
|
|
|
rmdir .snap/foo
|
|
|
|
echo "OK"
|