git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
93c8eea3f9bd21d1a475262e2780d1a34adbe9c4 blob 634 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
#!/bin/sh

test_description='tests for long running read-object process'

. ./test-lib.sh

PATH="$PATH:$TEST_DIRECTORY/t0550"

test_expect_success 'setup host repo with a root commit' '
	test_commit zero &&
	hash1=$(git ls-tree HEAD | grep zero.t | cut -f1 | cut -d\  -f3)
'

HELPER="read-object"

test_expect_success 'blobs can be retrieved from the host repo' '
	git init guest-repo &&
	(cd guest-repo &&
	 git config odb.magic.subprocessCommand "$HELPER" &&
	 git cat-file blob "$hash1" >/dev/null)
'

test_expect_success 'invalid blobs generate errors' '
	cd guest-repo &&
	test_must_fail git cat-file blob "invalid"
'

test_done
debug log:

solving 93c8eea3f9 ...
found 93c8eea3f9 in https://public-inbox.org/git/20180319133147.15413-30-chriscool@tuxfamily.org/

applying [1/1] https://public-inbox.org/git/20180319133147.15413-30-chriscool@tuxfamily.org/
diff --git a/t/t0550-read-object.sh b/t/t0550-read-object.sh
new file mode 100755
index 0000000000..93c8eea3f9

Checking patch t/t0550-read-object.sh...
Applied patch t/t0550-read-object.sh cleanly.

index at:
100755 93c8eea3f9bd21d1a475262e2780d1a34adbe9c4	t/t0550-read-object.sh

Code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).