diff options
author | Will Chandler <wchandler@gitlab.com> | 2021-12-22 13:30:21 -0500 |
---|---|---|
committer | Will Chandler <wchandler@gitlab.com> | 2021-12-22 14:00:15 -0500 |
commit | 922bb8ff61578a68126ba215e94e0c3d4c34bbf9 (patch) | |
tree | b717250cdb4aec4460941a304959769bdf8b438d /cmd/gitlab-shell | |
parent | 2941910e8c3b76cdede7d4ba113e70e906e4aadf (diff) | |
download | gitlab-shell-922bb8ff61578a68126ba215e94e0c3d4c34bbf9.tar.gz |
Send full git request/response in SSHD testswc-sshd-upload-pack
Before 9deaf47f1ecb00f0f36d18ee4a0fb1576f5a0efe, Gitaly would return
success for `SSHUploadPack` and `SSHUploadArchive` regardless of the
exit code of the `git upload-pack|archive` process. As a result, the
gitlab-sshd acceptance tests could rely on no errors being returned from
Gitaly.
Currently these tests send the minimum request needed to start a
session, causing the server git process to fail as the `0000` flush
packet to end the session is never sent.
This commit fixes the tests by sending the full request/response needed
for a successful git operation.
Diffstat (limited to 'cmd/gitlab-shell')
0 files changed, 0 insertions, 0 deletions