Commit 5723160
test-gvfs-prococol, t5799: tests for gvfs-helper
Create t/helper/test-gvfs-protocol.c and t/t5799-gvfs-helper.sh
to test gvfs-helper.
Create t/helper/test-gvfs-protocol.c as a stand-alone web server that
speaks the GVFS Protocol [1] and serves loose objects and packfiles
to clients. It is borrows heavily from the code in daemon.c.
It includes a "mayhem" mode to cause various network and HTTP errors
to test the retry/recovery ability of gvfs-helper.
Create t/t5799-gvfs-helper.sh to test gvfs-helper.
[1] https://github.com/microsoft/VFSForGit/blob/master/Protocol.md
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>1 parent bece812 commit 5723160
5 files changed
Lines changed: 2759 additions & 7 deletions
File tree
- contrib/buildsystems
- t
- helper
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1633 | 1633 | | |
1634 | 1634 | | |
1635 | 1635 | | |
| 1636 | + | |
1636 | 1637 | | |
1637 | 1638 | | |
1638 | 1639 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1029 | 1029 | | |
1030 | 1030 | | |
1031 | 1031 | | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
1032 | 1046 | | |
1033 | 1047 | | |
1034 | 1048 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1880 | 1880 | | |
1881 | 1881 | | |
1882 | 1882 | | |
| 1883 | + | |
| 1884 | + | |
1883 | 1885 | | |
1884 | 1886 | | |
1885 | 1887 | | |
| |||
2114 | 2116 | | |
2115 | 2117 | | |
2116 | 2118 | | |
2117 | | - | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
2118 | 2122 | | |
2119 | 2123 | | |
2120 | 2124 | | |
2121 | 2125 | | |
2122 | 2126 | | |
2123 | 2127 | | |
2124 | 2128 | | |
| 2129 | + | |
2125 | 2130 | | |
2126 | 2131 | | |
2127 | 2132 | | |
| |||
2676 | 2681 | | |
2677 | 2682 | | |
2678 | 2683 | | |
2679 | | - | |
2680 | | - | |
2681 | | - | |
2682 | | - | |
| 2684 | + | |
| 2685 | + | |
| 2686 | + | |
| 2687 | + | |
2683 | 2688 | | |
2684 | | - | |
2685 | | - | |
| 2689 | + | |
| 2690 | + | |
| 2691 | + | |
| 2692 | + | |
2686 | 2693 | | |
2687 | 2694 | | |
2688 | 2695 | | |
| |||
0 commit comments