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

Open
jayvdb opened this Issue Jun 3, 2016 · 3 comments

Comments

Projects
None yet
3 participants
@jayvdb
Contributor

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 bug label Jun 6, 2016

@yyuu

This comment has been minimized.

Collaborator

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.

@jayvdb

This comment has been minimized.

Contributor

jayvdb commented Jun 6, 2016

Probably related to EOL.

@rhemon

This comment has been minimized.

rhemon commented Jan 4, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment