mirror of
https://github.com/ceph/ceph
synced 2024-12-18 09:25:49 +00:00
ce0e3bd188
These were probably just obscuring other failures. Reviewed-by: Sage Weil <sage@inktank.com> Signed-off-by: John Spray <john.spray@inktank.com>
24 lines
322 B
Bash
Executable File
24 lines
322 B
Bash
Executable File
#!/bin/sh -ex
|
|
|
|
ceph mds set allow_new_snaps true --yes-i-really-mean-it
|
|
|
|
# this tests fix for #1399
|
|
mkdir foo
|
|
mkdir foo/.snap/one
|
|
touch bar
|
|
mv bar foo
|
|
sync
|
|
# should not crash :)
|
|
|
|
mkdir baz
|
|
mkdir baz/.snap/two
|
|
mv baz foo
|
|
sync
|
|
# should not crash :)
|
|
|
|
# clean up.
|
|
rmdir foo/baz/.snap/two
|
|
rmdir foo/.snap/one
|
|
rm -r foo
|
|
|
|
echo OK |