Skip to content

Commit

Permalink
ds
Browse files Browse the repository at this point in the history
  • Loading branch information
c410-f3r committed Sep 28, 2023
1 parent 52523fd commit a873906
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .scripts/autobahn-fuzzingclient.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ fi;

## fuzzingclient

RUSTFLAGS='-C target-cpu=native' cargo build --bin autobahn-server --features flate2,tokio,web-socket-handshake --release
RUSTFLAGS='-C target-cpu=native' cargo run --bin autobahn-server --features flate2,tokio,web-socket-handshake --release & cargo_pid=$!
cargo build --bin autobahn-server --features flate2,tokio,web-socket-handshake --release
cargo run --bin autobahn-server --features flate2,tokio,web-socket-handshake --release & cargo_pid=$!
mkdir -p .scripts/autobahn/reports/fuzzingclient
podman run \
-p 9070:9070 \
Expand Down
4 changes: 2 additions & 2 deletions .scripts/autobahn-fuzzingserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [ "$ARG" != "ci" ]; then
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT
fi;

RUSTFLAGS='-C target-cpu=native' cargo build --bin autobahn-client --features flate2,tokio,web-socket-handshake --release
cargo build --bin autobahn-client --features flate2,tokio,web-socket-handshake --release
mkdir -p .scripts/autobahn/reports/fuzzingserver
podman run \
-d \
Expand All @@ -16,7 +16,7 @@ podman run \
--net=host \
docker.io/crossbario/autobahn-testsuite:0.8.2 wstest -m fuzzingserver -s fuzzingserver.json
sleep 5
RUSTFLAGS='-C target-cpu=native' cargo run --bin autobahn-client --features flate2,tokio,web-socket-handshake --release -- 127.0.0.1:9080
cargo run --bin autobahn-client --features flate2,tokio,web-socket-handshake --release -- 127.0.0.1:9080
podman rm --force --ignore fuzzingserver

if [ $(grep -ci "failed" .scripts/autobahn/reports/fuzzingserver/index.json) -gt 0 ]
Expand Down

0 comments on commit a873906

Please sign in to comment.