Skip to content

Commit

Permalink
set -e for script
Browse files Browse the repository at this point in the history
  • Loading branch information
jmayclin committed Mar 3, 2023
1 parent 6c1d19a commit b4a216c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions netbench/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ python3 -m http.server 9000
```
Then navigate to `localhost:9000` in a browser to view the netbench results.

Note that this script does not support bpftrace, as it runs without any of the
elevated permissions required for bpf programs.

## How it works

### netbench-scenarios
Expand Down
3 changes: 3 additions & 0 deletions netbench/scripts/netbench-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# SPDX-License-Identifier: Apache-2.0
#

# immediately exit if an error occurs.
set -e

ARTIFACT_FOLDER="target/release"
NETBENCH_ARTIFACT_FOLDER="target/netbench"

Expand Down

0 comments on commit b4a216c

Please sign in to comment.