ceph/qa/workunits/snaps/snaptest-dir-rename.sh
Sage Weil f2aef3e1da qa: organize workunits a bit
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 13:22:06 -07:00

17 lines
177 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
echo OK