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

Fix tests/test-one.sh. #782

Merged
merged 1 commit into from
Jun 30, 2017

Conversation

SirVer
Copy link
Contributor

@SirVer SirVer commented Jun 30, 2017

On Mac OS where egrep is != GNU grep, the script fails with

egrep: repetition-operator operand invalid
ERROR: no files found with pattern "virtual_inheritance"

The $pattern is supposed to be a substring in the test name to run.
The leading and trailing stars are wrong, since egrep takes a regular expression, not a glob.

On Mac OS where egrep is != GNU grep, the script fails with

~~~
egrep: repetition-operator operand invalid
ERROR: no files found with pattern "virtual_inheritance"
~~~~

The `$pattern` is supposed to be a substring in the test name to run.
The leading and trailing stars are wrong, since egrep takes a
regular expression, not a glob.
@SirVer
Copy link
Contributor Author

SirVer commented Jun 30, 2017

r? @fitzgen

Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

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

👍 sweet, thanks!

@fitzgen
Copy link
Member

fitzgen commented Jun 30, 2017

@bors-servo r+

@bors-servo
Copy link

📌 Commit 5b21f87 has been approved by fitzgen

@bors-servo
Copy link

⌛ Testing commit 5b21f87 with merge 1cbb5d3...

bors-servo pushed a commit that referenced this pull request Jun 30, 2017
Fix tests/test-one.sh.

On Mac OS where egrep is != GNU grep, the script fails with

~~~
egrep: repetition-operator operand invalid
ERROR: no files found with pattern "virtual_inheritance"
~~~~

The `$pattern` is supposed to be a substring in the test name to run.
The leading and trailing stars are wrong, since egrep takes a regular expression, not a glob.
@bors-servo
Copy link

☀️ Test successful - status-travis
Approved by: fitzgen
Pushing 1cbb5d3 to master...

@bors-servo bors-servo merged commit 5b21f87 into rust-lang:master Jun 30, 2017
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.

4 participants