aboutsummaryrefslogtreecommitdiff
path: root/test.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-01-09 14:20:04 +0100
committerJakob Unterwurzacher2016-01-09 14:27:04 +0100
commitf01f599d74c32a380867707022fa60f90040f6b6 (patch)
tree69a35188eaad994199da478477eee0574332e94f /test.bash
parent236970adee4e4b4123f10e895ddc0b4e4dc8ecaf (diff)
Make test.bash work when called from outside the gocryptfs directory
Also, get rid of useless intermediate build step
Diffstat (limited to 'test.bash')
-rwxr-xr-xtest.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/test.bash b/test.bash
index 68cc74f..bd397fd 100755
--- a/test.bash
+++ b/test.bash
@@ -2,7 +2,8 @@
set -eu
-go build ./cryptfs
+cd "$(dirname "$0")"
+
go test ./cryptfs $*
source build.bash