diff options
| author | Marcel Telka <marcel@telka.sk> | 2024-05-17 15:19:00 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-05-17 12:13:28 -0700 |
| commit | ce09c692cd32ac3bd82d7f3bd323420077ed23e7 (patch) | |
| tree | 9cc864d285920db40e6f2d54a8128e6edb505d65 | |
| parent | t/t9902-completion.sh: backslashes in echo (diff) | |
| download | git-ce09c692cd32ac3bd82d7f3bd323420077ed23e7.tar.gz git-ce09c692cd32ac3bd82d7f3bd323420077ed23e7.zip | |
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.
Signed-off-by: Marcel Telka <marcel@telka.sk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| -rwxr-xr-x | t/t0600-reffiles-backend.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0600-reffiles-backend.sh b/t/t0600-reffiles-backend.sh index a390cffc80..92f570313d 100755 --- a/t/t0600-reffiles-backend.sh +++ b/t/t0600-reffiles-backend.sh @@ -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 && |
