summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorBotao Sun <botao.sun@linaro.org>2014-10-17 03:18:49 +1100
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2014-10-20 15:42:56 +0000
commitf46ae26134c910e742fb333fa312ff1a339b0717 (patch)
treeae6c0790da21f12f14d0e075fa6fbd98147551d6 /android
parentfec875d4c9f98845cd0f79492ee008146bf368e8 (diff)
memtester.sh: POSIX Compliant Update.
This change is to make the test script to be POSIX compliant. Original patch comes from: Lucas Dutra Nunes <ldnunes@ossystems.com.br> Signed-off by: Botao Sun <botao.sun@linaro.org> Change-Id: I0323ce2e82cab7a643227cc193dfaffee29835eb
Diffstat (limited to 'android')
-rwxr-xr-xandroid/scripts/memtester.sh12
1 files changed, 5 insertions, 7 deletions
diff --git a/android/scripts/memtester.sh b/android/scripts/memtester.sh
index 3de8607..d5c37ab 100755
--- a/android/scripts/memtester.sh
+++ b/android/scripts/memtester.sh
@@ -2,7 +2,7 @@
#
# memtester test
#
-# Copyright (C) 2013, Linaro Limited.
+# Copyright (C) 2010 - 2014, Linaro Limited.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -16,13 +16,11 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
-# USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
-# owner: harigopal.gollamudi@linaro.org
-#
-##############################################################################
+# Author: Harigopal Gollamudi <harigopal.gollamudi@linaro.org>
+# Maintainer: Botao Sun <botao.sun@linaro.org>
-memtester 1M 1 | sed -n '/ ok/p' | sed -e 's/ok/pass/g' &> stdout.log
+memtester 1M 1 | sed -n '/ ok/p' | sed -e 's/ok/pass/g' > stdout.log 2>&1
cat stdout.log
rm -rf stdout.log