sstephenson / bats

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

bats interpreter always shows usage #203

Open pramaku opened 7 years ago

pramaku commented 7 years ago

the main bats interpreter in the install directory always shows usage Reason: it is not passing arguments to the actual bats file in the libexec directory. install/bin$ bats sample.bats Bats 0.4.0 Usage: bats [-c] [-p | -t] [ ...]

It should pass the arguments to the libexec/bats, something like '../libexec/bats $@'

szaydel commented 6 years ago

This is an issue with a symbolic link not be properly placed. The bin/bats file should be a symlink, but I found that if you unpack the .zip file with source from the repo you will not actually have a symlink there.