diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2021-12-10 14:08:58 -0800 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2021-12-10 14:10:51 -0800 |
| commit | 8931d571d06b9d7b01b47bca265996cfbb285cdc (patch) | |
| tree | 0eaf3ee939ca8e341bba7f7437e6e6e6e2b19cad | |
| parent | build: update gnulib submodule to latest (diff) | |
| download | coreutils-8931d571d06b9d7b01b47bca265996cfbb285cdc.tar.gz coreutils-8931d571d06b9d7b01b47bca265996cfbb285cdc.zip | |
mv: Bug#52410 fix
The recent Gnulib update fixed this bug reported by Vincent Vermilya.
* tests/mv/backup-dir.sh: Test for Bug#52410.
| -rw-r--r-- | NEWS | 4 | ||||
| -rwxr-xr-x | tests/mv/backup-dir.sh | 5 |
2 files changed, 9 insertions, 0 deletions
@@ -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 diff --git a/tests/mv/backup-dir.sh b/tests/mv/backup-dir.sh index f920f319d..045228f4e 100755 --- a/tests/mv/backup-dir.sh +++ b/tests/mv/backup-dir.sh @@ -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 |
