Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
454cc829
Commit
454cc829
authored
May 29, 2012
by
yorah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
notes: add test resource with faked two-level fanout
parent
6c08e69f
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
3 additions
and
2 deletions
+3
-2
tests-clar/network/remotelocal.c
+2
-2
tests-clar/resources/testrepo.git/objects/08/b041783f40edfe12bb406c9c9a8a040177c125
+0
-0
tests-clar/resources/testrepo.git/objects/2d/59075e0681f540482d4f6223a68e0fef790bc7
+0
-0
tests-clar/resources/testrepo.git/objects/4b/22b35d44b5a4f589edf3dc89196399771796ea
+0
-0
tests-clar/resources/testrepo.git/objects/d0/7b0f9a8c89f1d9e74dc4fce6421dec5ef8a659
+0
-0
tests-clar/resources/testrepo.git/objects/d7/1aab4f9b04b45ce09bcaa636a9be6231474759
+0
-0
tests-clar/resources/testrepo.git/refs/notes/fanout
+1
-0
No files found.
tests-clar/network/remotelocal.c
View file @
454cc829
...
@@ -107,7 +107,7 @@ void test_network_remotelocal__retrieve_advertised_references(void)
...
@@ -107,7 +107,7 @@ void test_network_remotelocal__retrieve_advertised_references(void)
cl_git_pass
(
git_remote_ls
(
remote
,
&
count_ref__cb
,
&
how_many_refs
));
cl_git_pass
(
git_remote_ls
(
remote
,
&
count_ref__cb
,
&
how_many_refs
));
cl_assert_equal_i
(
how_many_refs
,
2
0
);
cl_assert_equal_i
(
how_many_refs
,
2
1
);
}
}
void
test_network_remotelocal__retrieve_advertised_references_from_spaced_repository
(
void
)
void
test_network_remotelocal__retrieve_advertised_references_from_spaced_repository
(
void
)
...
@@ -121,7 +121,7 @@ void test_network_remotelocal__retrieve_advertised_references_from_spaced_reposi
...
@@ -121,7 +121,7 @@ void test_network_remotelocal__retrieve_advertised_references_from_spaced_reposi
cl_git_pass
(
git_remote_ls
(
remote
,
&
count_ref__cb
,
&
how_many_refs
));
cl_git_pass
(
git_remote_ls
(
remote
,
&
count_ref__cb
,
&
how_many_refs
));
cl_assert_equal_i
(
how_many_refs
,
2
0
);
cl_assert_equal_i
(
how_many_refs
,
2
1
);
git_remote_free
(
remote
);
/* Disconnect from the "spaced repo" before the cleanup */
git_remote_free
(
remote
);
/* Disconnect from the "spaced repo" before the cleanup */
remote
=
NULL
;
remote
=
NULL
;
...
...
tests-clar/resources/testrepo.git/objects/08/b041783f40edfe12bb406c9c9a8a040177c125
0 → 100644
View file @
454cc829
File added
tests-clar/resources/testrepo.git/objects/2d/59075e0681f540482d4f6223a68e0fef790bc7
0 → 100644
View file @
454cc829
File added
tests-clar/resources/testrepo.git/objects/4b/22b35d44b5a4f589edf3dc89196399771796ea
0 → 100644
View file @
454cc829
File added
tests-clar/resources/testrepo.git/objects/d0/7b0f9a8c89f1d9e74dc4fce6421dec5ef8a659
0 → 100644
View file @
454cc829
File added
tests-clar/resources/testrepo.git/objects/d7/1aab4f9b04b45ce09bcaa636a9be6231474759
0 → 100644
View file @
454cc829
File added
tests-clar/resources/testrepo.git/refs/notes/fanout
0 → 100644
View file @
454cc829
d07b0f9a8c89f1d9e74dc4fce6421dec5ef8a659
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment