{"thread":{"id":"61497","subject":"[PATCH] t/t0600-reffiles-backend.sh: rm -v is not portable","startedAt":"2024-05-17T13:19:09Z","lastAt":"2024-05-17T13:19:09Z","messageCount":1,"participants":["Marcel Telka"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"494968","messageId":"ZkdZRAn6KGgxBnT5@telcontar","threadId":"61497","inReplyTo":null,"subject":"[PATCH] t/t0600-reffiles-backend.sh: rm -v is not portable","fromName":"Marcel Telka","fromEmail":"marcel@telka.sk","sentAt":"2024-05-17T13:19:00Z","receivedAt":"2024-05-17T13:19:09Z","isPatch":true,"sender":{"key":"marcel@telka.sk","avatar":"https://avatars.githubusercontent.com/u/3000173?v=4"},"body":"The -v option for rm is not specified by POSIX.  The illumos\nimplementation of rm does not support -v.  Since we do not need the\nverbose rm output we just drop -v for rm.\n\nSigned-off-by: Marcel Telka <marcel@telka.sk>\n---\n t/t0600-reffiles-backend.sh | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/t/t0600-reffiles-backend.sh b/t/t0600-reffiles-backend.sh\nindex a390cffc80..92f570313d 100755\n--- a/t/t0600-reffiles-backend.sh\n+++ b/t/t0600-reffiles-backend.sh\n@@ -424,7 +424,7 @@ test_expect_success SYMLINKS 'git branch -m with symlinked .git/refs' '\n \ttest_when_finished \"rm -rf subdir\" &&\n \tgit init --bare subdir &&\n \n-\trm -rfv subdir/refs subdir/objects subdir/packed-refs &&\n+\trm -rf subdir/refs subdir/objects subdir/packed-refs &&\n \tln -s ../.git/refs subdir/refs &&\n \tln -s ../.git/objects subdir/objects &&\n \tln -s ../.git/packed-refs subdir/packed-refs &&\n"}]}