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

Tests are not timed on OS X #4

Open
swaroopbekal opened this issue Aug 18, 2014 · 3 comments
Open

Tests are not timed on OS X #4

swaroopbekal opened this issue Aug 18, 2014 · 3 comments

Comments

@swaroopbekal
Copy link
Contributor

The BSD date utility in OS X doesn't recognize %N as a valid format specifier.

@rpavlik
Copy link

rpavlik commented Aug 18, 2014

I've partially worked around this in my modified version at https://github.com/rpavlik/rpisudiss/blob/master/tests/sh2ju.sh

@swaroopbekal
Copy link
Contributor Author

That's good. You can also check if uname -s returns "Darwin" if you want to make the expression simpler.

@rpavlik
Copy link

rpavlik commented Aug 18, 2014

I'd rather leave it as a functional test, rather than an identity test, personally, since it checks exactly what it needs (so would work elsewhere with either date utility)

chrisrichardson77 added a commit to fourceu/shell2junit that referenced this issue Jan 6, 2015
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

No branches or pull requests

2 participants