ceph/qa/mds/rename/dir_pri_pri.sh
Sage Weil 21795aaf5d qa: add dir rename tests
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-07 20:49:45 -07:00

12 lines
177 B
Bash

#!/bin/sh -ex
# dir, srcdn=destdn
mkdir mnt/a/dir1
mkdir mnt/a/dir2
mv -T mnt/a/dir1 mnt/a/dir2
# dir, different
mkdir mnt/a/dir3
mkdir mnt/b/dir4
mv -T mnt/a/dir3 mnt/b/dir4