Code Review
/
stor4nfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
initial code repo
[stor4nfv.git]
/
src
/
ceph
/
qa
/
workunits
/
rename
/
pri_pri.sh
diff --git a/src/ceph/qa/workunits/rename/pri_pri.sh
b/src/ceph/qa/workunits/rename/pri_pri.sh
new file mode 100755
(executable)
index 0000000..
b74985f
--- /dev/null
+++ b/
src/ceph/qa/workunits/rename/pri_pri.sh
@@ -0,0
+1,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
+