rename tests => test

This commit is contained in:
Rick Olson 2015-05-15 11:28:19 -06:00
parent e2afd37e7c
commit b685624ca3
4 changed files with 9 additions and 9 deletions

4
.gitignore vendored

@ -9,5 +9,5 @@ man/*
*.test
tests/remote
tests/local
test/remote
test/local

@ -16,10 +16,10 @@ wait_for_file() {
}
# cleanup
rm -rf "tests/remote"
rm -rf "tests/local"
mkdir -p "tests/remote"
mkdir -p "tests/local"
rm -rf "test/remote"
rm -rf "test/local"
mkdir -p "test/remote"
mkdir -p "test/local"
ROOTDIR=`pwd`
echo "compile git-lfs"
@ -27,9 +27,9 @@ script/bootstrap
GITLFS="`pwd`/bin/git-lfs"
echo "spin up test server"
LFSTEST_URL=tests/remote/url go run tests/cmd/lfstest-gitserver.go &
wait_for_file tests/remote/url
GITSERVER=$(cat tests/remote/url)
LFSTEST_URL="test/remote/url" go run "test/cmd/lfstest-gitserver.go" &
wait_for_file "test/remote/url"
GITSERVER=$(cat "test/remote/url")
echo $GITSERVER
echo "set up 'remote' git repository"