diff options
author | Jakob Unterwurzacher | 2018-03-05 23:00:36 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-03-05 23:01:29 +0100 |
commit | 86e60f1be20cb2db53e5e787790e5397a2a86495 (patch) | |
tree | 4ee7a7100f8b7f32c65490d3f881b9c813c83d87 /test.bash | |
parent | 870779ab1ddd38d21b14460822704b6cf8dc4de6 (diff) |
test.bash: Don't build with openssl if we were passed "-tags without_openssl"
test-without-openssl.bash now fails, as it should:
gocryptfs has been compiled without openssl support but you are still trying to use openssl
mount failed: exit status 18
FAIL github.com/rfjakob/gocryptfs/tests/matrix 1.943s
Diffstat (limited to 'test.bash')
-rwxr-xr-x | test.bash | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -27,8 +27,8 @@ for i in $(mount | grep $TESTDIR | cut -f3 -d" "); do done ./build-without-openssl.bash -# Building with openssl is difficult on OSX, so only do it on Linux. -if [[ $OSTYPE == linux* ]] ; then +# Don't build with openssl if we were passed "-tags without_openssl" +if [[ "$@" != *without_openssl* ]] ; then ./build.bash fi |