ceph/qa/workunits/snaptest-dir-rename.sh
2010-08-25 16:24:41 -07:00

16 lines
169 B
Bash
Executable File

#!/bin/sh -x
set -e
#
# make sure we keep an existing dn's seq
#
mkdir a
mkdir .snap/bar
mkdir a/.snap/foo
rmdir a/.snap/foo
rmdir a
stat .snap/bar/a
rmdir .snap/bar