Skip to contentSkip to conversation

t/t0600-reffiles-backend.sh: rm -v is not portable

PATCH New Marcel Telka 1 participant 1 message May 17, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 t/t0600-reffiles-backend.sh: rm -v is not portable

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.

---
 t/t0600-reffiles-backend.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
t/t0600-reffiles-backend.sh +1 -1
index a390cffc80..92f570313d 100755
@@ -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 &&