mv: Bug#52410 fix

The recent Gnulib update fixed this bug reported by Vincent Vermilya.
* tests/mv/backup-dir.sh: Test for Bug#52410.
This commit is contained in:
Paul Eggert committed 2021-12-10 14:10:51 -08:00
1 parent 4f497bf3c7
commit 8931d571d0
2 files changed
+9

No files matched your search

+4
View File
@@ -21,6 +21,10 @@ GNU coreutils NEWS -*- outline -*-
and B is in some other file system.
[bug introduced in coreutils-9.0]
'mv -T --backup=numbered A B/' no longer miscalculates the backup number
for B when A is a directory, possibly inflooping.
[bug introduced in coreutils-6.3]
** Changes in behavior
timeout --foreground --kill-after=... will now exit with status 137
+5
View File
@@ -31,4 +31,9 @@ EOF
compare exp out || fail=1
# Bug#52410
mkdir C D E || framework_failure_
mv -T --backup=numbered C E/ || fail=1
mv -T --backup=numbered D E/ || fail=1
Exit $fail