sstephenson / bats

Bash Automated Testing System
MIT License
7.12k stars 519 forks source link

Bats does not work on the Windows 10 Ubuntu #241

Closed martinjansa closed 6 years ago

martinjansa commented 6 years ago

I am running the latest Windows 10 with the Ubuntu Bash (part of the OS, see the version dump bellow).

I've successfully installed bats, but when I attempt to run a .bats file using the bats, it always dumps a help and does not do anything else:

m@martinj:~$ bats bin/tests/sample.bats Bats 0.4.0 Usage: bats [-c] [-p | -t] <test> [<test> ...] m@martinj:~$

On the Linux (Centos) machine the same sample.bats script performs the tests.

Version of the "Linux" running on my Win10:

m@martinj:~$ uname -mrs Linux 4.4.0-43-Microsoft x86_64

Please let me know, if I can further assist with the diagnostics in any way.

Thank you,

Martin

martinjansa commented 6 years ago

I've just tried to update from git and reinstall and now it works. Please close the issue, sorry for a confusion.