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

Test/fix sed sys variance #339

Merged

Conversation

DominicKramer
Copy link
Contributor

sed was being used in the http-e2e.js test with the -i flag
to perform changes in-place. However, this option has a different
syntax on OS X vs Linux. As a fix, -i.bak is now used to
explicitly specify a backup extension works on both OS X and
Linux.

The command has been tested on OS X and Debian.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 4, 2017
`sed` was being used in the `http-e2e.js` test with the `-i` flag
to perform changes in-place.  However, this option has a different
syntax on OS X vs Linux.  As a fix, `-i.bak` is now used to
explicitly specify a backup extension works on both OS X and
Linux.

The command has been tested on OS X and Debian.
Copy link
Contributor

@kjin kjin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, I just use git commit --amend without any changes to the topmost commit, it changes the commit timestamp. --force pushing that will trigger a re-build.

@DominicKramer DominicKramer merged commit 4e66703 into googleapis:master Jan 5, 2017
DominicKramer added a commit to DominicKramer/cloud-trace-nodejs that referenced this pull request Jan 6, 2017
`sed` was being used in the `http-e2e.js` test with the `-i` flag
to perform changes in-place.  However, this option has a different
syntax on OS X vs Linux.  As a fix, `-i.bak` is now used to
explicitly specify a backup extension works on both OS X and
Linux.

PR-URL: googleapis#339
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants