* [LTP] [PATCH] lib/test.sh: replace LTP_TST_CNT with TST_COUNT
@ 2014-03-19 7:15 Alexey Kodanev
2014-03-19 13:58 ` chrubis
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Kodanev @ 2014-03-19 7:15 UTC (permalink / raw)
To: ltp-list; +Cc: vasily.isaenko
The tools/apicmds require TST_COUNT to be set.
Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
---
testcases/lib/test.sh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/testcases/lib/test.sh b/testcases/lib/test.sh
index b857dc4..19b54da 100644
--- a/testcases/lib/test.sh
+++ b/testcases/lib/test.sh
@@ -22,7 +22,7 @@
#
export LTP_RET_VAL=0
-export LTP_TST_CNT=1
+export TST_COUNT=1
# Exit values map
tst_flag2mask()
@@ -45,11 +45,11 @@ tst_resm()
local mask=$?
LTP_RET_VAL=$((LTP_RET_VAL|mask))
- echo "$TCID $LTP_TST_CNT $1 : $2"
+ echo "$TCID $TST_COUNT $1 : $2"
case "$1" in
TPASS|TFAIL)
- LTP_TST_CNT=$((LTP_TST_CNT+1));;
+ TST_COUNT=$((TST_COUNT+1));;
esac
}
--
1.7.1
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-19 13:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-19 7:15 [LTP] [PATCH] lib/test.sh: replace LTP_TST_CNT with TST_COUNT Alexey Kodanev
2014-03-19 13:58 ` chrubis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox