Test 2028 failes: Git version: 2.17.0 (checked out from github repository) OS: Debian9(9.4), Debian 8 (8.10) and xubuntu 14.04(14.04.5 LTS) gcc: gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516 gcc (Debian 4.9.2-10+deb8u1) 4.9.2 gcc (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4 configure generated with: autoreconf build with: ./configure make test running: make test Error: *** t2028-worktree-move.sh *** ok 1 - setup ok 2 - lock main worktree ok 3 - lock linked worktree ok 4 - lock linked worktree from another worktree ok 5 - lock worktree twice ok 6 - lock worktree twice (from the locked worktree) ok 7 - unlock main worktree ok 8 - unlock linked worktree ok 9 - unlock worktree twice ok 10 - move non-worktree ok 11 - move locked worktree not ok 12 - move worktree # # toplevel="$(pwd)" && # git worktree move source destination && # test_path_is_missing source && # git worktree list --porcelain >out && # grep "^worktree.*/destination" out && # ! grep "^worktree.*/source" out && # git -C destination log --format=%s >actual2 && # echo init >expected2 && # test_cmp expected2 actual2 # ok 13 - move main worktree ok 14 - move worktree to another dir ok 15 - remove main worktree ok 16 - remove locked worktree ok 17 - remove worktree with dirty tracked file ok 18 - remove worktree with untracked file ok 19 - force remove worktree with untracked file ok 20 - remove missing worktree ok 21 - NOT remove missing-but-locked worktree # failed 1 among 21 test(s) 1..21