diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-04-15 13:50:17 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-04-15 13:50:17 -0700 |
| commit | d03b07e2a9282fd65edac01833fd9712d453bbfd (patch) | |
| tree | 7b4e5919a7225224c0fee2ee88e0ac89bf5bb12f | |
| parent | 11e4c8cd9c14dbf9d561928a6ada5a79a3b6c17a (diff) | |
| parent | 95b573b753661619161dde85ce66afd533626f43 (diff) | |
Merge branch 'bc/allow-upload-pack-from-other-people'
Test fix for an already graduated topic.
* bc/allow-upload-pack-from-other-people:
t5605: fix test for cloning from a different user
| -rwxr-xr-x | t/t5605-clone-local.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/t/t5605-clone-local.sh b/t/t5605-clone-local.sh index 4605703496..2397f8fa61 100755 --- a/t/t5605-clone-local.sh +++ b/t/t5605-clone-local.sh @@ -156,11 +156,10 @@ test_expect_success 'cloning a local path with --no-local does not hardlink' ' test_expect_success 'cloning a local path with --no-local from a different user succeeds' ' git clone --upload-pack="GIT_TEST_ASSUME_DIFFERENT_OWNER=true git-upload-pack" \ --no-local a nonlocal-otheruser 2>err && - ! repo_is_hardlinked nonlocal-otheruser && + ! repo_is_hardlinked nonlocal-otheruser/.git && # Verify that this is a git repository. git -C nonlocal-otheruser rev-parse --show-toplevel && - ! test_grep "detected dubious ownership" err - + test_grep ! "detected dubious ownership" err ' test_expect_success 'cloning locally respects "-u" for fetching refs' ' |
