Hi,

I have tried to execute the 'io_floppy' test in  LTP Version:  LTP-20100131.1

ma...@maxin-laptop:/opt/ltp$ ./runltp -f io_floppy

This test failed since the 'stress_floppy' script was not installed properly.
Please find the below given log:
-----------------------------------------------------------
....
Running tests.......
<<<test_start>>>
tag=stress_floppy stime=1266516562
cmdline="export TCdat=$LTPROOT/testcases/kernel/io/stress_floppy; stress_floppy"
contacts=""
analysis=exit
<<<test_output>>>
sh: stress_floppy: not found
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=127 corefile=no
cutime=0 cstime=0
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: LTP-20100131.1

       ###############################################################"

            Done executing testcases."
            LTP Version:  LTP-20100131.1
       ###############################################################"
-----------------------------------------------------------

Attached patch(stress_floppy_Makefile.patch) fixes Makefile and the
'stress_floppy' script gets installed properly.

-----------------------------------------------------------
Running tests.......
<<<test_start>>>
tag=stress_floppy stime=1266518427
cmdline="export TCdat=$LTPROOT/testcases/kernel/io/stress_floppy; stress_floppy"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
Testing format...
/dev/fd0: No such file or directory
Format failed!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=0 cstime=0
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: LTP-20100131.1
-----------------------------------------------------------

Well, after applying this patch, the 'io_floppy' test fails successfully :)
(Expected failure as I don't have a floppy drive)

Signed-off-by: Maxin B. John <maxin.j...@gmail.com>

--
Warm Regards,
Maxin B. John
www.maxinbjohn.info
diff -uNr ltp-full-20100131.1-orig/testcases/kernel/io/stress_floppy/Makefile ltp-full-20100131.1/testcases/kernel/io/stress_floppy/Makefile
--- ltp-full-20100131.1-orig/testcases/kernel/io/stress_floppy/Makefile	2009-10-09 23:25:48.000000000 +0530
+++ ltp-full-20100131.1/testcases/kernel/io/stress_floppy/Makefile	2010-02-18 23:51:42.000000000 +0530
@@ -24,6 +24,8 @@
 
 INSTALL_DEPS		:= dumpdir 
 
+INSTALL_TARGETS		:= stress_floppy 
+
 MAKE_TARGETS		:=
 
 # dumpdir's a directory.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to