Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ssrlive committed Jan 23, 2025
1 parent 3785c77 commit ea124d6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,6 @@ jobs:
RUST_BACKTRACE=1 cargo +${{ matrix.toolchain }} clippy --all-features --release -- -D warnings
RUST_BACKTRACE=1 cargo +${{ matrix.toolchain }} build --all-features --release
cat my.json <<EOF
{
"remarks": "ddewr",
"tunnel_path": "/tunnel_path/",
"server_settings": {
"listen_host": "127.0.0.1",
"listen_port": 20000
}
}
EOF
# Run the binary
./target/release/overtls-bin -c my.json -v trace -r server &
./target/release/overtls-bin -c ./my.json -v trace -r server &
sleep 5
pkill -f overtls-bin
8 changes: 8 additions & 0 deletions my.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"remarks": "ddewr",
"tunnel_path": "/tunnel_path/",
"server_settings": {
"listen_host": "127.0.0.1",
"listen_port": 20000
}
}

0 comments on commit ea124d6

Please sign in to comment.