The line endings broke when I saved the three recent patches (my fault, not Colin's) to 'git am' them. Adjusted the stripping of the test program for comparing to also exclude the SSH key file name as that will differ and use a local path name.
These tests check the output of the --libcurl option of curl, including the improved option handling added in a related patch.