Initial mod_lock acquire.

This commit is contained in:
Ben Johnson
2013-11-27 16:59:05 -07:00
parent 74ad50efa6
commit 22c2935ddb
10 changed files with 75 additions and 41 deletions

16
test.sh
View File

@@ -1,6 +1,9 @@
#!/bin/sh
set -e
PKGS="./mod/lock/tests"
# PKGS="./store ./server ./server/v2/tests"
# Get GOPATH, etc from build
. ./build
@@ -8,14 +11,11 @@ set -e
export GOPATH="${PWD}"
# Unit tests
go test -i ./server
go test -v ./server
go test -i ./server/v2/tests
go test -v ./server/v2/tests
go test -i ./store
go test -v ./store
for PKG in $PKGS
do
go test -i $PKG
go test -v $PKG
done
# Functional tests
go test -i ./tests/functional