sstephenson / bats

Bash Automated Testing System

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bats interpreter always shows usage

pramaku opened this issue · comments

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 $@'

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.