dnote/scripts/test.sh
Sung Won Cho 73526a943c
Encryption (#165)
* Implement login and logout

* Add encrypt util

* Use v2

* Abstract common interface between db and tx

* Fix test

* Check login

* Fix test

* Fix login

* Fix path

* Improve test

* Fix output
2019-03-31 16:23:46 +11:00

17 lines
356 B
Bash
Executable file

#!/bin/bash
# run_server_test.sh runs server test files sequentially
# https://stackoverflow.com/questions/23715302/go-how-to-run-tests-for-multiple-packages
set -e
# clear tmp dir in case not properly torn down
rm -rf $GOPATH/src/github.com/dnote/cli/tmp
# run test
pushd $GOPATH/src/github.com/dnote/cli
go test ./... \
-p 1\
--tags "fts5"
popd