aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/cryptodev/sdk_patches/0070-remove-old-results-to-avoid-incorrect-reports.patch
blob: 270b69e1d1c62759b93d11685de21684f6718636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 73748415251dbf3d6e3fc9531e38b8e61ff63e20 Mon Sep 17 00:00:00 2001
From: Cristian Stoica <cristian.stoica@nxp.com>
Date: Wed, 26 Oct 2016 15:09:04 +0300
Subject: [PATCH 070/104] remove old results to avoid incorrect reports

Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
---
 tests/async_speed_multi.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/async_speed_multi.sh b/tests/async_speed_multi.sh
index bf5f1c6..10b2348 100755
--- a/tests/async_speed_multi.sh
+++ b/tests/async_speed_multi.sh
@@ -108,6 +108,9 @@ function main
 {
 	[ ! -e "/dev/crypto" ] && sudo modprobe cryptodev || modprobe cryptodev || exit 1
 
+	rm -f ${OUT_BASENAME}_*
+	rm -f ${MPSTAT_OUT}
+
 	while getopts hm:t:n: option
 	do
 		case "$option" in
-- 
2.10.2