You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure how tests.sh runs on other Mac OS X machines, but when I run it I get the following errors, none of them look to me like they should work on other Mac OS X systems.
Recreate:
git clone [email protected]:lehmannro/assert.sh.git assert.sh-framework
cd assert.sh-framework
./tests.sh
Output:
all 9 demo tests passed in 0.000s.
test #15 "_clean; skip_if 'cat /etc/passwd | grep $(echo $USER)';
assert_raises false; assert_end;" failed:
expected "all 0 tests passed."
got "test #1 "false" failed:\n program terminated with code 1 instead of 0\n1 of 1 tests failed."
1 of 15 output tests failed in 0.000s.
test #11 "shopt -o errexit" failed:
program terminated with code 1 instead of 0
1 of 15 interaction tests failed in 1.000s.
test #10 "echo -n %s | wc -c" failed:
expected "2"
got " 2"
1 of 11 regression tests failed in 0.000s.
Test 15 is because the current user on Mac OS X is unlikely to be in /etc/passwd because regular users aren't stored in there but in its Open Directory service.
Test 11 - I have no idea.
Test 10 is I guess because Mac OS's wc is the BSD version and not the gnu version, and the output seems to differ with the BSD version.
(I tried both master branch and v1.1 tag).
The text was updated successfully, but these errors were encountered:
I fixed this in a separate commit in Pull Request #13 so if that PR is accepted, this issue can be closed, otherwise a separate PR can be made to extract the commit out.
I'm not sure how tests.sh runs on other Mac OS X machines, but when I run it I get the following errors, none of them look to me like they should work on other Mac OS X systems.
Recreate:
Output:
wc
is the BSD version and not the gnu version, and the output seems to differ with the BSD version.(I tried both
master
branch andv1.1
tag).The text was updated successfully, but these errors were encountered: