Compare commits
2 Commits
2ff12869cd
...
3b53ef938d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b53ef938d | ||
|
|
40d95d5b63 |
5
build.sh
Normal file
5
build.sh
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#! /usr/bin/env bash
|
||||||
|
|
||||||
|
export CGO_ENABLED=1
|
||||||
|
export CC=x86_64-linux-musl-gcc
|
||||||
|
exec go build -ldflags="-linkmode external -extldflags '-static'" -o exec-rproxy3
|
||||||
@@ -34,7 +34,7 @@ func TestHTTPSMain(t *testing.T) {
|
|||||||
"username",
|
"username",
|
||||||
"-pass",
|
"-pass",
|
||||||
"password",
|
"password",
|
||||||
"-proxy",
|
"-proxy2",
|
||||||
"hello," + addr,
|
"hello," + addr,
|
||||||
"-crt",
|
"-crt",
|
||||||
"./testdata/rproxy3server.crt",
|
"./testdata/rproxy3server.crt",
|
||||||
@@ -89,7 +89,7 @@ func TestHTTPMain(t *testing.T) {
|
|||||||
"username",
|
"username",
|
||||||
"-pass",
|
"-pass",
|
||||||
"password",
|
"password",
|
||||||
"-proxy",
|
"-proxy2",
|
||||||
"hello," + addr,
|
"hello," + addr,
|
||||||
}
|
}
|
||||||
main()
|
main()
|
||||||
|
|||||||
Reference in New Issue
Block a user