From cdf5cf1a641be374130a41a9bdb45ce52be44081 Mon Sep 17 00:00:00 2001 From: Graham Whaley Date: Mon, 5 Jun 2017 10:30:18 +0100 Subject: [PATCH] Docs: metrics: network: Clarify pre-process and running 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 --- tests/metrics/network/README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tests/metrics/network/README.md b/tests/metrics/network/README.md index 20aa9749..a84e253f 100644 --- a/tests/metrics/network/README.md +++ b/tests/metrics/network/README.md @@ -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.