Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug/curl #628

Merged
merged 4 commits into from Sep 17, 2015
Merged

Bug/curl #628

merged 4 commits into from Sep 17, 2015

Conversation

mdomsch
Copy link
Contributor

@mdomsch mdomsch commented Sep 17, 2015

This replaces use of wget in run-tests.py with curl. wget doesn't work on RHEL 6 or RHEL 7 because it cannot issue only a HEAD call. curl can.

wget on RHEL6 is too old to implement --method=HEAD.  curl works
just fine.
In some places we were using the test_curl_HEAD() function, in others
we were manually calling it.  Instead, use the helper function
everywhere.

Add --location flag to curl command so that if S3 returns us a 302
redirect (which it may do for its own purposes), we follow it properly.
This adds a function similar to the shell 'which' command to detect
if curl is available, rather than assuming curl is available on
a posix system.  Cleaner.
fviard added a commit that referenced this pull request Sep 17, 2015
Bug/curl. This replaces use of wget in run-tests.py with curl
@fviard fviard merged commit 4ca629f into s3tools:master Sep 17, 2015
@mdomsch mdomsch deleted the bug/curl branch September 21, 2015 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants