All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Kodanev <alexey.kodanev@oracle.com>
To: ltp-list@lists.sourceforge.net
Cc: vasily.isaenko@oracle.com
Subject: [LTP] [PATCH] lib/test.sh: replace LTP_TST_CNT with TST_COUNT
Date: Wed, 19 Mar 2014 11:15:00 +0400	[thread overview]
Message-ID: <1395213300-518-1-git-send-email-alexey.kodanev@oracle.com> (raw)

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

             reply	other threads:[~2014-03-19  7:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-19  7:15 Alexey Kodanev [this message]
2014-03-19 13:58 ` [LTP] [PATCH] lib/test.sh: replace LTP_TST_CNT with TST_COUNT chrubis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1395213300-518-1-git-send-email-alexey.kodanev@oracle.com \
    --to=alexey.kodanev@oracle.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=vasily.isaenko@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.