Allow running test.sh from a symlinked dir.

This commit is contained in:
Jacob Hoffman-Andrews 2015-03-25 18:56:10 -07:00
parent 6e48708a74
commit 9a628b7b16
1 changed files with 1 additions and 2 deletions

View File

@ -1,8 +1,7 @@
#!/bin/bash
# Run all tests and coverage checks. Called from Travis automatically, also
# suitable to run manually. See list of prerequisite packages in .travis.yml
# NOTE: Currently this must be run from the fully-expanded letsencrypt path
# under your GOPATH, not a symlink.
cd $(realpath $(dirname $0))
FAILURE=0