aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/cryptodev/sdk_patches/0082-force-LC_TIME-value-to-avoid-mpstat-not-using-ISO860.patch
blob: 6f3df511cef39962c7e50d2ea129b348388cca99 (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
28
29
30
31
From eee8668c6f0e558e77533edb80c1ca7d4dc486e2 Mon Sep 17 00:00:00 2001
From: Cristian Stoica <cristian.stoica@nxp.com>
Date: Fri, 28 Oct 2016 17:00:29 +0300
Subject: [PATCH 082/104] force LC_TIME value to avoid mpstat not using ISO8601
 format

(not everybody has this locale - silent warnings on some systems)

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

diff --git a/tests/async_speed_multi.sh b/tests/async_speed_multi.sh
index f2a8ba6..1901620 100755
--- a/tests/async_speed_multi.sh
+++ b/tests/async_speed_multi.sh
@@ -24,6 +24,10 @@ CMD_BIN="async_speed"
 OUT_BASENAME="async_speed"
 MPSTAT_OUT="mpstat_out"
 
+# A bigger hammer for mpstat to use ISO8601 time format (fixed in 11.2.2)
+export LC_TIME=en_GB.UTF-8 &> /dev/null
+
+
 function usage
 {
 cat << EOF
-- 
2.10.2