[LTP] [PATCH 12/13]Add a missing variable TST_TOTAL

tangchen
2011-01-06T11:09:59Z

Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
---
.../kernel/syscalls/socketpair/socketpair02.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/testcases/kernel/syscalls/socketpair/socketpair02.c
b/testcases/kernel/syscalls/socketpair/socketpair02.c
index e898066..7ac74f3 100644
--- a/testcases/kernel/syscalls/socketpair/socketpair02.c
+++ b/testcases/kernel/syscalls/socketpair/socketpair02.c
@@ -65,7 +65,8 @@
extern char *TESTDIR; /* temporary dir created by tst_tmpdir() */

/* Global Variables */
-char *TCID = "socketpair02"; /* test program identifier. */
+char *TCID = "socketpair02"; /* test program identifier.*/
+int TST_TOTAL = 1;

/* Extern Global Functions */
/******************************************************************************/
@@ -162,4 +163,5 @@ int main(int argc, char *argv[])
tst_resm(TPASS, "socketpair(SOCK_NONBLOCK) PASSED");
cleanup();
tst_exit();
-}
\ No newline at end of file
+}
+
--
1.7.0.4

--
Best Regards,
Tang chen