dup-source.log ( failed)

test link: tests/mv/dup-source.sh
FAIL: tests/mv/dup-source
=========================

--- exp	2024-10-20 15:57:00.367864239 +0000
+++ out	2024-10-20 15:57:00.365864233 +0000
@@ -1,6 +1,7 @@
 cp: warning: source file 'a' specified more than once
-cp: warning: source file 'a' specified more than once
-cp: warning: source directory 'b' specified more than once
-cp: cannot copy a directory, './b', into itself, 'b/b'
-cp: warning: source directory 'b' specified more than once
 cp: will not overwrite just-created 'd/a' with 'a'
+cp: will not overwrite just-created 'd/b' with 'b'
+cp: cannot copy a directory, './b', into itself, 'b/b'
+cp: cannot copy a directory, 'b', into itself, 'b/b'
+cp: warning: source file 'a' specified more than once
+cp: warning: source file 'a' specified more than once
--- exp	2024-10-20 15:57:00.399864324 +0000
+++ out	2024-10-20 15:57:00.397864319 +0000
@@ -1,5 +1,5 @@
-mv: cannot stat 'a': No such file or directory
-mv: cannot stat 'a': No such file or directory
-mv: cannot stat 'b': No such file or directory
-mv: cannot move './b' to a subdirectory of itself, 'b/b'
-mv: warning: source directory 'b' specified more than once
+mv: will not overwrite just-created 'd/a' with 'a'
+mv: will not overwrite just-created 'd/a' with 'a'
+mv: will not overwrite just-created 'd/b' with 'b'
+mv: cannot move './b' to a subdirectory of itself, 'b//b'
+mv: cannot move 'b' to a subdirectory of itself, 'b//b'
FAIL tests/mv/dup-source.sh (exit status: 1)