diff options
| author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 17:36:38 +0100 |
|---|---|---|
| committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 17:36:38 +0100 |
| commit | 2a7348129a42f21095fcd62e47a035f78d254130 (patch) | |
| tree | 544dc8019a8f8cb684ace8674193605e607f9964 /recipes-test/systest-runner/files/tests/perf-network | |
| download | meta-enea-master.tar.gz | |
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-test/systest-runner/files/tests/perf-network')
| -rwxr-xr-x | recipes-test/systest-runner/files/tests/perf-network | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-test/systest-runner/files/tests/perf-network b/recipes-test/systest-runner/files/tests/perf-network new file mode 100755 index 0000000..28d88d5 --- /dev/null +++ b/recipes-test/systest-runner/files/tests/perf-network | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | logname=`date +"%Y_%m_%d_%H_%M_%S"`".log" | ||
| 4 | perf-networking |tee /tmp/$logname | ||
| 5 | |||
| 6 | if grep -Fq "Error:" /tmp/$logname | ||
| 7 | then | ||
| 8 | echo "FAIL: Test failed" | ||
| 9 | exit 1 | ||
| 10 | else | ||
| 11 | echo "PASS: Performed the netperf tests" | ||
| 12 | exit 0 | ||
| 13 | fi | ||
