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

two version-file-read tests fail on osx #623

Closed
jayvdb opened this issue Jun 3, 2016 · 3 comments
Closed

two version-file-read tests fail on osx #623

jayvdb opened this issue Jun 3, 2016 · 3 comments

Comments

@jayvdb
Copy link
Contributor

@jayvdb jayvdb commented Jun 3, 2016

not ok 98 reads only the first word from file
# (from function `assert_equal' in file test/test_helper.bash, line 65,
#  from function `assert_output' in file test/test_helper.bash, line 74,
#  from function `assert_success' in file test/test_helper.bash, line 49,
#  in test file test/version-file-read.bats, line 41)
#   `assert_success "3.3.5"' failed
# expected: 3.3.5
# actual:   3.3.5:2.7.6:hi
not ok 99 loads *not* only the first line in file
# (from function `assert_equal' in file test/test_helper.bash, line 65,
#  from function `assert_output' in file test/test_helper.bash, line 74,
#  from function `assert_success' in file test/test_helper.bash, line 49,
#  in test file test/version-file-read.bats, line 50)
#   `assert_success "2.7.6:3.3.5"' failed
# expected: 2.7.6:3.3.5
# actual:   2.7.6:one:3.3.5:two

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/34825159-two-version-file-read-tests-fail-on-osx?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github).
@yyuu yyuu added the type: bug label Jun 6, 2016
@yyuu
Copy link
Collaborator

@yyuu yyuu commented Jun 6, 2016

It's working on GNU/Linux at least. Need more investigation why it doesn't work on OS X. I guess there's something wrong with BSD toolchain.

Loading

@jayvdb
Copy link
Contributor Author

@jayvdb jayvdb commented Jun 6, 2016

Probably related to EOL.

Loading

@rhemon
Copy link

@rhemon rhemon commented Jan 4, 2017

Ran the test and had same result
http://pastebin.com/xKq2G36a

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants