mirror of https://github.com/fatedier/frp.git
12 lines
342 B
Bash
12 lines
342 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
ROOT=$(unset CDPATH && cd $(dirname "${BASH_SOURCE[0]}")/.. && pwd)
|
||
|
|
||
|
which ginkgo &> /dev/null
|
||
|
if [ $? -ne 0 ]; then
|
||
|
echo "ginkgo not found, try to install..."
|
||
|
go get -u github.com/onsi/ginkgo/ginkgo
|
||
|
fi
|
||
|
|
||
|
ginkgo -nodes=1 ${ROOT}/test/e2e -- -frpc-path=${ROOT}/bin/frpc -frps-path=${ROOT}/bin/frps -log-level=debug
|