ceph/qa/mds/rename/pri_pri.sh

13 lines
188 B
Bash
Raw Normal View History

#!/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