Skip to content

Commit

Permalink
Docs: metrics: network: Clarify pre-process and running
Browse files Browse the repository at this point in the history
Correct the typo in the network metrics build command, and clarify
how the tests can be run by hand after pre-processing.

Signed-off-by: Graham Whaley <[email protected]>
  • Loading branch information
Graham Whaley committed Jun 5, 2017
1 parent edebf40 commit cdf5cf1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions tests/metrics/network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,21 @@ RSS is a standard measure to monitor memory usage in a physical memory scheme.

## Running the networking tests

1. Generate the necessary files to run the individual tests with the following command:
Before the network tests can be run, some files must be pre-processed.
The following command will both pre-process the required files and then run
the tests:

```
$ sudo -E make metrics tests
$ sudo -E make metrics-tests
```
2. Run the networking tests using `sudo` with the following commands:

Once the necessary files have been pre-processed via the above command,
individual tests may be run by hand, for example:

```
$ cd tests/metrics
$ bash network/network-metrics.sh
```
Note, some tests require `root` priviledges to operate correctly.

0 comments on commit cdf5cf1

Please sign in to comment.