Add support for testing some of the primitive shell scripts we will need

This commit is contained in:
R. Tyler Croy 2018-01-03 18:00:49 -08:00
parent cb8cf635df
commit de8fa321ea
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
3 changed files with 17 additions and 0 deletions

2
.gitignore vendored
View File

@ -20,3 +20,5 @@
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
*.sw*
vendor/

11
Makefile Normal file
View File

@ -0,0 +1,11 @@
check: vendor/bats
./vendor/bats/bin/bats $(wildcard t/*.bats) $(wildcard t/**/*.bats)
vendor/bats:
mkdir -p vendor
git clone --depth 1 \
-b v0.4.0 \
https://github.com/sstephenson/bats.git $@
.PHONY: check

4
t/base/includes.bats Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bats
@test "exact match" {
}