Several required tst_res(3) variables weren't being exported prior to
test execution, as noted in the following message:

gcoo...@orangebox /scratch/ltp-makefile-infra-rework/ltp $ tail -n 15
/scratch/ltp-install4/output/output.test_dma_thread_diotest7.log
Reading file 99.
Reading file 100.

Set variables TCID, TST_TOTAL, and TST_COUNT before each test:
export TCID=<test name>
export TST_TOTAL=<Total Number of Tests >
export TST_COUNT=<Test case number>

(null)      1  PASS  :  Test Passed
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=153 termination_type=exited termination_id=0 corefile=no
cutime=596 cstime=4341
<<<test_end>>>

This fixes that.

Signed-off-by: Garrett Cooper <[email protected]>

Index: ./testcases/kernel/io/direct_io/test_dma_thread_diotest7.sh
===================================================================
RCS file: 
/cvsroot/ltp/ltp/testcases/kernel/io/direct_io/test_dma_thread_diotest7.sh,v
retrieving revision 1.3
diff -u -r1.3 test_dma_thread_diotest7.sh
--- ./testcases/kernel/io/direct_io/test_dma_thread_diotest7.sh 18 Apr
2009 18:53:21 -0000      1.3
+++ ./testcases/kernel/io/direct_io/test_dma_thread_diotest7.sh 1 Aug
2009 05:51:55 -0000
@@ -20,6 +20,10 @@
 ##
        ##
 
################################################################################

+export TCID=dma_thread_diotest7
+export TST_TOTAL=3
+export TST_COUNT=3
+
 tst_resm TINFO "Generating Test Files"
 ./dma_thread_diotest7

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to