]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t/t0600-reffiles-backend.sh: rm -v is not portable
authorMarcel Telka <marcel@telka.sk>
Fri, 17 May 2024 13:19:00 +0000 (15:19 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 May 2024 19:13:28 +0000 (12:13 -0700)
The -v option for rm is not specified by POSIX.  The illumos
implementation of rm does not support -v.  Since we do not need the
verbose rm output we just drop -v for rm.

Signed-off-by: Marcel Telka <marcel@telka.sk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0600-reffiles-backend.sh

index a390cffc800c62b5a165c00da1f757f98deee3e8..92f570313d433a7370b155c0a657c12ab6604587 100755 (executable)
@@ -424,7 +424,7 @@ test_expect_success SYMLINKS 'git branch -m with symlinked .git/refs' '
        test_when_finished "rm -rf subdir" &&
        git init --bare subdir &&
 
-       rm -rfv subdir/refs subdir/objects subdir/packed-refs &&
+       rm -rf subdir/refs subdir/objects subdir/packed-refs &&
        ln -s ../.git/refs subdir/refs &&
        ln -s ../.git/objects subdir/objects &&
        ln -s ../.git/packed-refs subdir/packed-refs &&