ceph/qa/mds/rename/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

13 lines
188 B
Bash
Executable File

#!/bin/sh -ex
# srcdn=destdn
touch mnt/a/file1
touch mnt/a/file2
mv mnt/a/file1 mnt/a/file2
# different (srcdn != destdn)
touch mnt/a/file3
touch mnt/b/file4
mv mnt/a/file3 mnt/b/file4