summaryrefslogtreecommitdiffstats
path: root/src/ceph/qa/workunits/rename/pri_pri.sh
blob: b74985fe3f0e5c22b24ebe5b7e1438abb797bf5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -ex

# srcdn=destdn
touch ./a/file1
touch ./a/file2
mv ./a/file1 ./a/file2

# different (srcdn != destdn)
touch ./a/file3
touch ./b/file4
mv ./a/file3 ./b/file4