Skip to content

Commit

Permalink
enable sockopt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Sep 17, 2018
1 parent 383b84e commit 2f28d38
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ before_script:
- uname -a
- sudo ntpdate -u time.google.com
- date
- sudo setcap cap_net_admin=eip ${GOROOT}/bin/go
script:
- go test -p 1 -tags json -v v2ray.com/core/...
after_success:
Expand Down
1 change: 1 addition & 0 deletions shippable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ build:
- tar -C /usr/local -xzf golang.tar.gz
- export PATH=$PATH:/usr/local/go/bin
- export GOPATH=/v2ray
- sudo setcap cap_net_admin=eip /usr/loca/go/bin/go
- go get v2ray.com/core/...
- go get v2ray.com/ext/...
- go test -p 1 -v v2ray.com/core/...
2 changes: 0 additions & 2 deletions transport/internet/sockopt_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import (
)

func TestSockOptMark(t *testing.T) {
t.Skip("requires CAP_NET_ADMIN")

tcpServer := tcp.Server{
MsgProcessor: func(b []byte) []byte {
return b
Expand Down

0 comments on commit 2f28d38

Please sign in to comment.