You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(40) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(205) |
Feb
(281) |
Mar
(428) |
Apr
(444) |
May
(137) |
Jun
(341) |
Jul
(509) |
Aug
(184) |
Sep
(51) |
Oct
(70) |
Nov
(52) |
Dec
(41) |
2004 |
Jan
(27) |
Feb
|
Mar
|
Apr
(99) |
May
(562) |
Jun
(36) |
Jul
(74) |
Aug
(61) |
Sep
(33) |
Oct
(76) |
Nov
(64) |
Dec
(71) |
2005 |
Jan
(19) |
Feb
(28) |
Mar
(726) |
Apr
(310) |
May
(325) |
Jun
(496) |
Jul
(192) |
Aug
(72) |
Sep
(41) |
Oct
(294) |
Nov
(79) |
Dec
(64) |
2006 |
Jan
(112) |
Feb
(267) |
Mar
(33) |
Apr
(16) |
May
(121) |
Jun
(77) |
Jul
(43) |
Aug
(281) |
Sep
(97) |
Oct
(19) |
Nov
(15) |
Dec
(50) |
2007 |
Jan
(2) |
Feb
(31) |
Mar
(21) |
Apr
(76) |
May
(36) |
Jun
(97) |
Jul
(93) |
Aug
(85) |
Sep
(77) |
Oct
(35) |
Nov
(106) |
Dec
(81) |
2008 |
Jan
(86) |
Feb
(139) |
Mar
(378) |
Apr
(127) |
May
(196) |
Jun
(108) |
Jul
(136) |
Aug
(137) |
Sep
(114) |
Oct
(229) |
Nov
(312) |
Dec
(180) |
2009 |
Jan
(747) |
Feb
(907) |
Mar
(371) |
Apr
(174) |
May
(192) |
Jun
(163) |
Jul
(744) |
Aug
(495) |
Sep
(85) |
Oct
(950) |
Nov
(311) |
Dec
(180) |
2010 |
Jan
(303) |
Feb
(33) |
Mar
(9) |
Apr
|
May
(1) |
Jun
(4) |
Jul
(18) |
Aug
(37) |
Sep
(2) |
Oct
(2) |
Nov
(6) |
Dec
(3) |
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
(2) |
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
(1) |
Jul
(11) |
Aug
(1) |
Sep
|
Oct
(17) |
Nov
(1) |
Dec
|
2013 |
Jan
(7) |
Feb
(2) |
Mar
(1) |
Apr
(1) |
May
(1) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(5) |
2014 |
Jan
(2) |
Feb
|
Mar
|
Apr
(3) |
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
(2) |
2016 |
Jan
(3) |
Feb
|
Mar
(1) |
Apr
(1) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Garrett C. <yab...@us...> - 2010-01-28 15:49:26
|
Update of /cvsroot/ltp/ltp/tools In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv31635/tools Modified Files: Makefile Log Message: 1. Install missing html_report_header.txt . 2. Convert install directory from tools to bin to avoid install-in-build-tree breakage. Signed-off-by: Garrett Cooper <yan...@gm...> Index: Makefile =================================================================== RCS file: /cvsroot/ltp/ltp/tools/Makefile,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** Makefile 10 Oct 2009 22:40:52 -0000 1.14 --- Makefile 28 Jan 2010 15:49:17 -0000 1.15 *************** *** 29,35 **** FILTER_OUT_DIRS := netpipe% top-LTP ! INSTALL_TARGETS := *.pl *.sh ! INSTALL_DIR := tools include $(top_srcdir)/include/mk/generic_trunk_target.mk --- 29,35 ---- FILTER_OUT_DIRS := netpipe% top-LTP ! INSTALL_TARGETS := *.pl *.sh html_report_header.txt ! INSTALL_DIR := bin include $(top_srcdir)/include/mk/generic_trunk_target.mk |
From: Garrett C. <yab...@us...> - 2010-01-28 15:47:09
|
Update of /cvsroot/ltp/ltp/testcases/network/multicast/mc_cmds In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv31234/testcases/network/multicast/mc_cmds Modified Files: mc_cmds Log Message: Convert everything over to bin from tools because it's breaking install-in-build-tree. Signed-off-by: Garrett Cooper <yan...@gm...> Index: mc_cmds =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/network/multicast/mc_cmds/mc_cmds,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** mc_cmds 10 Oct 2009 22:45:16 -0000 1.17 --- mc_cmds 28 Jan 2010 15:46:58 -0000 1.18 *************** *** 64,68 **** IFNAME=${IFNAME:-$(netstat -i -n | grep "^[b-z]\{2,4\}[0-9][^*]"|\ awk '{print $1}')} ! INTERFACE=${INTERFACE:-$("$LTPROOT/tools/gethost" `hostname` | grep addresses: | awk '{print $2}')} echo "Testing ifconfig and netstat" --- 64,68 ---- IFNAME=${IFNAME:-$(netstat -i -n | grep "^[b-z]\{2,4\}[0-9][^*]"|\ awk '{print $1}')} ! INTERFACE=${INTERFACE:-$("$LTPROOT/bin/gethost" `hostname` | grep addresses: | awk '{print $2}')} echo "Testing ifconfig and netstat" |
From: Garrett C. <yab...@us...> - 2010-01-28 15:47:06
|
Update of /cvsroot/ltp/ltp In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv31234 Modified Files: runltp Log Message: Convert everything over to bin from tools because it's breaking install-in-build-tree. Signed-off-by: Garrett Cooper <yan...@gm...> Index: runltp =================================================================== RCS file: /cvsroot/ltp/ltp/runltp,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** runltp 15 Oct 2009 14:45:30 -0000 1.52 --- runltp 28 Jan 2010 15:46:58 -0000 1.53 *************** *** 55,59 **** # # Oct 27 2007 - Modified - Ricardo Salveti de Araujo and Subrata Modak ! # - better ways to integrate "ltp/tools/genload/stress" with "ltp/runltp" # Nov 24 2007 - Modified - Subrata Modak # - Added a new option to generate output in HTML format also. Also retaining --- 55,59 ---- # # Oct 27 2007 - Modified - Ricardo Salveti de Araujo and Subrata Modak ! # - better ways to integrate "ltp/bin/genload/stress" with "ltp/runltp" # Nov 24 2007 - Modified - Subrata Modak [...1493 lines suppressed...] cleanup() { ! rm -rf ${TMP} } --- 919,931 ---- ###############################################################" ! EOF ! fi ! exit $LTP_EXIT_VALUE ! } cleanup() { ! rm -rf "${TMP}" } |
From: Garrett C. <yab...@us...> - 2010-01-28 15:47:06
|
Update of /cvsroot/ltp/ltp/testcases/kernel/fs/scsi/ltpfs In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv31234/testcases/kernel/fs/scsi/ltpfs Modified Files: ltpfsio.sh Log Message: Convert everything over to bin from tools because it's breaking install-in-build-tree. Signed-off-by: Garrett Cooper <yan...@gm...> Index: ltpfsio.sh =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/scsi/ltpfs/ltpfsio.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ltpfsio.sh 12 Nov 2003 16:39:29 -0000 1.1 --- ltpfsio.sh 28 Jan 2010 15:46:58 -0000 1.2 *************** *** 84,88 **** echo "************ Running tests " ! ${LTPROOT}/tools/rand_lines -g ${LTPROOT}/runtest/ltpfs.part1 > ${TMPBASE}/ltpfs.part1 ${LTPROOT}/pan/pan -e -S -a ltpfspart1 -n ltpfspart1 -l lvmlogfile -f ${TMPBASE}/ltpfs.part1 & --- 84,88 ---- echo "************ Running tests " ! ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/ltpfs.part1 > ${TMPBASE}/ltpfs.part1 ${LTPROOT}/pan/pan -e -S -a ltpfspart1 -n ltpfspart1 -l lvmlogfile -f ${TMPBASE}/ltpfs.part1 & *************** *** 96,100 **** ! ${LTPROOT}/tools/rand_lines -g ${LTPROOT}/runtest/ltpfs.part2 > ${TMPBASE}/ltpfs.part2 ${LTPROOT}/pan/pan -e -S -a ltpfspart2 -n ltpfspart2 -l lvmlogfile -f ${TMPBASE}/ltpfs.part2 & --- 96,100 ---- ! ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/ltpfs.part2 > ${TMPBASE}/ltpfs.part2 ${LTPROOT}/pan/pan -e -S -a ltpfspart2 -n ltpfspart2 -l lvmlogfile -f ${TMPBASE}/ltpfs.part2 & *************** *** 106,110 **** mount -v /dev/$part1 /test/growfiles/msdos ! ${LTPROOT}/tools/rand_lines -g ${LTPROOT}/runtest/ltpfs.part3 > ${TMPBASE}/ltpfs.part3 ${LTPROOT}/pan/pan -e -S -a ltpfspart3 -n ltpfspart3 -l lvmlogfile -f ${TMPBASE}/ltpfs.part3 & --- 106,110 ---- mount -v /dev/$part1 /test/growfiles/msdos ! ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/ltpfs.part3 > ${TMPBASE}/ltpfs.part3 ${LTPROOT}/pan/pan -e -S -a ltpfspart3 -n ltpfspart3 -l lvmlogfile -f ${TMPBASE}/ltpfs.part3 & *************** *** 116,120 **** mount -v /dev/$part1 /test/growfiles/reiser ! ${LTPROOT}/tools/rand_lines -g ${LTPROOT}/runtest/ltpfs.part4 > ${TMPBASE}/ltpfs.part4 ${LTPROOT}/pan/pan -e -S -a ltpfspart4 -n ltpfspart4 -l lvmlogfile -f ${TMPBASE}/ltpfs.part4 & --- 116,120 ---- mount -v /dev/$part1 /test/growfiles/reiser ! ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/ltpfs.part4 > ${TMPBASE}/ltpfs.part4 ${LTPROOT}/pan/pan -e -S -a ltpfspart4 -n ltpfspart4 -l lvmlogfile -f ${TMPBASE}/ltpfs.part4 & *************** *** 126,130 **** mount -v /dev/$part1 /test/growfiles/minix ! ${LTPROOT}/tools/rand_lines -g ${LTPROOT}/runtest/ltpfs.part5 > ${TMPBASE}/ltpfs.part5 ${LTPROOT}/pan/pan -e -S -a ltpfspart5 -n ltpfspart5 -l lvmlogfile -f ${TMPBASE}/ltpfs.part5 & --- 126,130 ---- mount -v /dev/$part1 /test/growfiles/minix ! ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/ltpfs.part5 > ${TMPBASE}/ltpfs.part5 ${LTPROOT}/pan/pan -e -S -a ltpfspart5 -n ltpfspart5 -l lvmlogfile -f ${TMPBASE}/ltpfs.part5 & *************** *** 136,140 **** mount -v /dev/$part1 /test/growfiles/ext3 ! ${LTPROOT}/tools/rand_lines -g ${LTPROOT}/runtest/ltpfs.part6 > ${TMPBASE}/ltpfs.part6 ${LTPROOT}/pan/pan -e -S -a ltpfspart6 -n ltpfspart6 -l lvmlogfile -f ${TMPBASE}/ltpfs.part6 & --- 136,140 ---- mount -v /dev/$part1 /test/growfiles/ext3 ! ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/ltpfs.part6 > ${TMPBASE}/ltpfs.part6 ${LTPROOT}/pan/pan -e -S -a ltpfspart6 -n ltpfspart6 -l lvmlogfile -f ${TMPBASE}/ltpfs.part6 & *************** *** 146,150 **** mount -v -t jfs /dev/$part1 /test/growfiles/jfs ! ${LTPROOT}/tools/rand_lines -g ${LTPROOT}/runtest/ltpfs.part7 > ${TMPBASE}/ltpfs.part7 ${LTPROOT}/pan/pan -e -S -a ltpfspart7 -n ltpfspart7 -l lvmlogfile -f ${TMPBASE}/ltpfs.part7 & --- 146,150 ---- mount -v -t jfs /dev/$part1 /test/growfiles/jfs ! ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/ltpfs.part7 > ${TMPBASE}/ltpfs.part7 ${LTPROOT}/pan/pan -e -S -a ltpfspart7 -n ltpfspart7 -l lvmlogfile -f ${TMPBASE}/ltpfs.part7 & |
From: Garrett C. <yab...@us...> - 2010-01-28 15:47:06
|
Update of /cvsroot/ltp/ltp/testcases/network/multicast/mc_member In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv31234/testcases/network/multicast/mc_member Modified Files: mc_member Log Message: Convert everything over to bin from tools because it's breaking install-in-build-tree. Signed-off-by: Garrett Cooper <yan...@gm...> Index: mc_member =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/network/multicast/mc_member/mc_member,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mc_member 10 Oct 2009 22:45:16 -0000 1.8 --- mc_member 28 Jan 2010 15:46:58 -0000 1.9 *************** *** 46,50 **** EXECUTABLES=${EXECUTABLES:-"member"} NUMLOOPS=${NUMLOOPS:-2} ! INTERFACE=${INTERFACE:-$("$LTPROOT/tools/gethost" `hostname`| grep address |awk '{ print $2 }')} GLIST=${GLIST:-$TCsrc/ManyGroups} TooManyGLIST=${TooManyGLIST:-$TCsrc/TooManyGroups} --- 46,50 ---- EXECUTABLES=${EXECUTABLES:-"member"} NUMLOOPS=${NUMLOOPS:-2} ! INTERFACE=${INTERFACE:-$("$LTPROOT/bin/gethost" `hostname`| grep address |awk '{ print $2 }')} GLIST=${GLIST:-$TCsrc/ManyGroups} TooManyGLIST=${TooManyGLIST:-$TCsrc/TooManyGroups} |
From: Garrett C. <yab...@us...> - 2010-01-28 15:47:06
|
Update of /cvsroot/ltp/ltp/testscripts In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv31234/testscripts Modified Files: ltp-aiodio.sh ltp-scsi_debug.sh ltpfsnolvm.sh ltpstress.sh ltpfslvm.sh Log Message: Convert everything over to bin from tools because it's breaking install-in-build-tree. Signed-off-by: Garrett Cooper <yan...@gm...> Index: ltp-aiodio.sh =================================================================== RCS file: /cvsroot/ltp/ltp/testscripts/ltp-aiodio.sh,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** ltp-aiodio.sh 19 May 2009 09:39:11 -0000 1.14 --- ltp-aiodio.sh 28 Jan 2010 15:46:58 -0000 1.15 *************** *** 228,232 **** echo "************ Running aio-stress tests " echo "current working dir = ${PWD}" ! ${LTPROOT}/tools/rand_lines -g ${LTPROOT}/runtest/ltp-aio-stress.part1 > ${TMPBASE}/ltp-aio-stress.part1 ${LTPROOT}/pan/ltp-pan -e -S -a ltpaiostresspart1 -n ltp-aiostresspart1 -l ltpaiostress.logfile -o ltpaiostress.outfile -p -f ${TMPBASE}/ltp-aio-stress.part1 & --- 228,232 ---- echo "************ Running aio-stress tests " echo "current working dir = ${PWD}" ! ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/ltp-aio-stress.part1 > ${TMPBASE}/ltp-aio-stress.part1 ${LTPROOT}/pan/ltp-pan -e -S -a ltpaiostresspart1 -n ltp-aiostresspart1 -l ltpaiostress.logfile -o ltpaiostress.outfile -p -f ${TMPBASE}/ltp-aio-stress.part1 & *************** *** 240,244 **** if [ "$runExtendedStress" -eq 1 ];then echo "************ Running EXTENDED aio-stress tests " ! ${LTPROOT}/tools/rand_lines -g ${LTPROOT}/runtest/ltp-aio-stress.part2 > ${TMPBASE}/ltp-aio-stress.part2 ${LTPROOT}/pan/ltp-pan -e -S -a ltpaiostresspart2 -n ltp-aiostresspart2 -l ltpaiostress.logfile -o ltpaiostress.outfile -p -f ${TMPBASE}/ltp-aio-stress.part2 & --- 240,244 ---- if [ "$runExtendedStress" -eq 1 ];then echo "************ Running EXTENDED aio-stress tests " ! ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/ltp-aio-stress.part2 > ${TMPBASE}/ltp-aio-stress.part2 ${LTPROOT}/pan/ltp-pan -e -S -a ltpaiostresspart2 -n ltp-aiostresspart2 -l ltpaiostress.logfile -o ltpaiostress.outfile -p -f ${TMPBASE}/ltp-aio-stress.part2 & *************** *** 255,259 **** echo "************ Running aiocp tests " ! ${LTPROOT}/tools/rand_lines -g ${LTPROOT}/runtest/ltp-aiodio.part1 > ${TMPBASE}/ltp-aiodio.part1 ${LTPROOT}/pan/ltp-pan -e -S -a ltpaiodiopart1 -n ltp-aiodiopart1 -l ltpaiodio1.logfile -o ltpaiodio1.outfile -p -f ${TMPBASE}/ltp-aiodio.part1 & --- 255,259 ---- echo "************ Running aiocp tests " ! ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/ltp-aiodio.part1 > ${TMPBASE}/ltp-aiodio.part1 ${LTPROOT}/pan/ltp-pan -e -S -a ltpaiodiopart1 -n ltp-aiodiopart1 -l ltpaiodio1.logfile -o ltpaiodio1.outfile -p -f ${TMPBASE}/ltp-aiodio.part1 & *************** *** 265,269 **** echo "************ Running aiodio_sparse tests " ! ${LTPROOT}/tools/rand_lines -g ${LTPROOT}/runtest/ltp-aiodio.part2 > ${TMPBASE}/ltp-aiodio.part2 ${LTPROOT}/pan/ltp-pan -e -S -a ltpaiodiopart2 -n ltp-aiodiopart2 -l ltpaiodio2.logfile -o ltpaiodio2.outfile -p -f ${TMPBASE}/ltp-aiodio.part2 & --- 265,269 ---- echo "************ Running aiodio_sparse tests " ! ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/ltp-aiodio.part2 > ${TMPBASE}/ltp-aiodio.part2 ${LTPROOT}/pan/ltp-pan -e -S -a ltpaiodiopart2 -n ltp-aiodiopart2 -l ltpaiodio2.logfile -o ltpaiodio2.outfile -p -f ${TMPBASE}/ltp-aiodio.part2 & *************** *** 277,281 **** if [ "$runExtendedStress" -eq 1 ];then echo "************ Running fsx-linux tests " ! ${LTPROOT}/tools/rand_lines -g ${LTPROOT}/runtest/ltp-aiodio.part3 > ${TMPBASE}/ltp-aiodio.part3 ${LTPROOT}/pan/ltp-pan -e -S -a ltpaiodiopart3 -n ltp-aiodiopart3 -l ltpaiodio3.logfile -o ltpaiodio3.outfile -p -f ${TMPBASE}/ltp-aiodio.part3 & --- 277,281 ---- if [ "$runExtendedStress" -eq 1 ];then echo "************ Running fsx-linux tests " ! ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/ltp-aiodio.part3 > ${TMPBASE}/ltp-aiodio.part3 ${LTPROOT}/pan/ltp-pan -e -S -a ltpaiodiopart3 -n ltp-aiodiopart3 -l ltpaiodio3.logfile -o ltpaiodio3.outfile -p -f ${TMPBASE}/ltp-aiodio.part3 & *************** *** 296,300 **** echo "************ Running dio_sparse & miscellaneous tests " ! ${LTPROOT}/tools/rand_lines -g ${LTPROOT}/runtest/ltp-aiodio.part4 > ${TMPBASE}/ltp-aiodio.part4 ${LTPROOT}/pan/ltp-pan -e -S -a ltpaiodiopart4 -n ltp-aiodiopart4 -l ltpaiodio4.logfile -o ltpaiodio4.outfile -p -f ${TMPBASE}/ltp-aiodio.part4 & --- 296,300 ---- echo "************ Running dio_sparse & miscellaneous tests " ! ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/ltp-aiodio.part4 > ${TMPBASE}/ltp-aiodio.part4 ${LTPROOT}/pan/ltp-pan -e -S -a ltpaiodiopart4 -n ltp-aiodiopart4 -l ltpaiodio4.logfile -o ltpaiodio4.outfile -p -f ${TMPBASE}/ltp-aiodio.part4 & Index: ltpstress.sh =================================================================== RCS file: /cvsroot/ltp/ltp/testscripts/ltpstress.sh,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** ltpstress.sh 19 May 2009 09:39:11 -0000 1.29 --- ltpstress.sh 28 Jan 2010 15:46:58 -0000 1.30 *************** *** 248,254 **** netpipe.sh >/dev/null 2>/dev/null & fi ! ${LTPROOT}/tools/rand_lines -g ${LTPROOT}/runtest/stress.part1 > ${TMP}/stress.part1 ! ${LTPROOT}/tools/rand_lines -g ${LTPROOT}/runtest/stress.part2 > ${TMP}/stress.part2 ! ${LTPROOT}/tools/rand_lines -g ${LTPROOT}/runtest/stress.part3 > ${TMP}/stress.part3 sleep 2 --- 248,254 ---- netpipe.sh >/dev/null 2>/dev/null & fi ! ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/stress.part1 > ${TMP}/stress.part1 ! ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/stress.part2 > ${TMP}/stress.part2 ! ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/stress.part3 > ${TMP}/stress.part3 sleep 2 Index: ltpfslvm.sh =================================================================== RCS file: /cvsroot/ltp/ltp/testscripts/ltpfslvm.sh,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** ltpfslvm.sh 19 May 2009 09:39:11 -0000 1.9 --- ltpfslvm.sh 28 Jan 2010 15:46:58 -0000 1.10 *************** *** 157,161 **** echo "************ Running tests " ! ${LTPROOT}/tools/rand_lines -g ${LTPROOT}/runtest/lvm.part1 > ${TMPBASE}/lvm.part1 ${LTPROOT}/pan/ltp-pan -e -S -a lvmpart1 -n lvmpart1 -l lvmlogfile -f ${TMPBASE}/lvm.part1 & --- 157,161 ---- echo "************ Running tests " ! ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/lvm.part1 > ${TMPBASE}/lvm.part1 ${LTPROOT}/pan/ltp-pan -e -S -a lvmpart1 -n lvmpart1 -l lvmlogfile -f ${TMPBASE}/lvm.part1 & *************** *** 189,193 **** echo "************ Running EXT3 & JFS tests... " ! ${LTPROOT}/tools/rand_lines -g ${LTPROOT}/runtest/lvm.part2 > ${TMPBASE}/lvm.part2 ${LTPROOT}/pan/ltp-pan -e -S -a lvmpart2 -n lvmpart2 -l lvmlogfile -f ${TMPBASE}/lvm.part2 & --- 189,193 ---- echo "************ Running EXT3 & JFS tests... " ! ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/lvm.part2 > ${TMPBASE}/lvm.part2 ${LTPROOT}/pan/ltp-pan -e -S -a lvmpart2 -n lvmpart2 -l lvmlogfile -f ${TMPBASE}/lvm.part2 & Index: ltp-scsi_debug.sh =================================================================== RCS file: /cvsroot/ltp/ltp/testscripts/ltp-scsi_debug.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ltp-scsi_debug.sh 19 May 2009 09:39:11 -0000 1.2 --- ltp-scsi_debug.sh 28 Jan 2010 15:46:58 -0000 1.3 *************** *** 205,209 **** echo "----- Running tests ----- " echo "The test may take about 2 hours to finish..." ! ${LTPROOT}/tools/rand_lines -g ${LTPROOT}/runtest/scsi_debug.part1 > ${TMPBASE}/scsi_debug ${LTPROOT}/pan/ltp-pan -e -S -a scsi_debug -n scsi_debug -l ${TMPBASE}/fs-scsi_debug.log -o ${TMPBASE}/fs-scsi_debug.out -f ${TMPBASE}/scsi_debug --- 205,209 ---- echo "----- Running tests ----- " echo "The test may take about 2 hours to finish..." ! ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/scsi_debug.part1 > ${TMPBASE}/scsi_debug ${LTPROOT}/pan/ltp-pan -e -S -a scsi_debug -n scsi_debug -l ${TMPBASE}/fs-scsi_debug.log -o ${TMPBASE}/fs-scsi_debug.out -f ${TMPBASE}/scsi_debug Index: ltpfsnolvm.sh =================================================================== RCS file: /cvsroot/ltp/ltp/testscripts/ltpfsnolvm.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ltpfsnolvm.sh 19 May 2009 09:39:11 -0000 1.2 --- ltpfsnolvm.sh 28 Jan 2010 15:46:58 -0000 1.3 *************** *** 117,121 **** echo "************ Running tests " ! ${LTPROOT}/../tools/rand_lines -g ${LTPROOT}/../runtest/lvm.part1 > ${TMPBASE}/lvm.part1 ${LTPROOT}/../pan/ltp-pan -e -S -a lvmpart1 -n lvmpart1 -l lvmlogfile -f ${TMPBASE}/lvm.part1 & --- 117,121 ---- echo "************ Running tests " ! ${LTPROOT}/../bin/rand_lines -g ${LTPROOT}/../runtest/lvm.part1 > ${TMPBASE}/lvm.part1 ${LTPROOT}/../pan/ltp-pan -e -S -a lvmpart1 -n lvmpart1 -l lvmlogfile -f ${TMPBASE}/lvm.part1 & *************** *** 139,143 **** echo "************ Running EXT3 & JFS tests... " ! ${LTPROOT}/../tools/rand_lines -g ${LTPROOT}/../runtest/lvm.part2 > ${TMPBASE}/lvm.part2 ${LTPROOT}/../pan/ltp-pan -e -S -a lvmpart2 -n lvmpart2 -l lvmlogfile -f ${TMPBASE}/lvm.part2 & --- 139,143 ---- echo "************ Running EXT3 & JFS tests... " ! ${LTPROOT}/../bin/rand_lines -g ${LTPROOT}/../runtest/lvm.part2 > ${TMPBASE}/lvm.part2 ${LTPROOT}/../pan/ltp-pan -e -S -a lvmpart2 -n lvmpart2 -l lvmlogfile -f ${TMPBASE}/lvm.part2 & |
From: Garrett C. <yab...@us...> - 2010-01-28 15:47:06
|
Update of /cvsroot/ltp/ltp/testcases/network/multicast/mc_opts In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv31234/testcases/network/multicast/mc_opts Modified Files: mc_opts Log Message: Convert everything over to bin from tools because it's breaking install-in-build-tree. Signed-off-by: Garrett Cooper <yan...@gm...> Index: mc_opts =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/network/multicast/mc_opts/mc_opts,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mc_opts 10 Oct 2009 22:45:16 -0000 1.8 --- mc_opts 28 Jan 2010 15:46:58 -0000 1.9 *************** *** 48,52 **** EXECUTABLES=${EXECUTABLES:-"opts opts_e"} NUMLOOPS=${NUMLOOPS:-10} ! IPADDR=${IPADDR:-$("$LTPROOT/tools/gethost" `hostname`| grep address |awk '{ print $2 }')} this_file=${0##*/} --- 48,52 ---- EXECUTABLES=${EXECUTABLES:-"opts opts_e"} NUMLOOPS=${NUMLOOPS:-10} ! IPADDR=${IPADDR:-$("$LTPROOT/bin/gethost" `hostname`| grep address |awk '{ print $2 }')} this_file=${0##*/} |
From: Garrett C. <yab...@us...> - 2010-01-28 15:47:06
|
Update of /cvsroot/ltp/ltp/testcases/network/multicast/mc_commo In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv31234/testcases/network/multicast/mc_commo Modified Files: mc_commo Log Message: Convert everything over to bin from tools because it's breaking install-in-build-tree. Signed-off-by: Garrett Cooper <yan...@gm...> Index: mc_commo =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/network/multicast/mc_commo/mc_commo,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** mc_commo 23 Jan 2010 22:23:25 -0000 1.16 --- mc_commo 28 Jan 2010 15:46:58 -0000 1.17 *************** *** 50,54 **** OUTFILE=$TCtmp/mc_commo_out NUMLOOPS=${NUMLOOPS:-2} ! INTERFACE=${INTERFACE:-$("$LTPROOT/tools/gethost" `hostname` | grep addresses: | awk '{print $2}')} this_file=${0##*/} --- 50,54 ---- OUTFILE=$TCtmp/mc_commo_out NUMLOOPS=${NUMLOOPS:-2} ! INTERFACE=${INTERFACE:-$("$LTPROOT/bin/gethost" `hostname` | grep addresses: | awk '{print $2}')} this_file=${0##*/} |
From: Garrett C. <yab...@us...> - 2010-01-28 15:36:08
|
Update of /cvsroot/ltp/ltp/testcases/kernel/security In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv30218/testcases/kernel/security Modified Files: Makefile Log Message: Update comment. Signed-off-by: Garrett Cooper <yan...@gm...> Index: Makefile =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/security/Makefile,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Makefile 28 Jan 2010 15:35:12 -0000 1.11 --- Makefile 28 Jan 2010 15:36:00 -0000 1.12 *************** *** 31,36 **** endif ! # Omit the selinux-testsuite if -lselinux is missing and the policy-devel code ! # is present. ifneq ($(strip $(SELINUX_LIBS)),) FILTER_OUT_DIRS += selinux-testsuite --- 31,36 ---- endif ! # Omit the selinux-testsuite if -lselinux is missing or the policy-devel ! # package isn't present. ifneq ($(strip $(SELINUX_LIBS)),) FILTER_OUT_DIRS += selinux-testsuite |
From: Garrett C. <yab...@us...> - 2010-01-28 15:35:20
|
Update of /cvsroot/ltp/ltp/testcases/kernel/security In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv30086/testcases/kernel/security Modified Files: Makefile Log Message: Need to add a check for $(DESTDIR)/usr/share/selinux/devel too so that the refpolicy piece will build properly, and selinux will be omitted in the negative case. Signed-off-by: Garrett Cooper <yan...@gm...> Index: Makefile =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/security/Makefile,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Makefile 28 Jan 2010 15:23:41 -0000 1.10 --- Makefile 28 Jan 2010 15:35:12 -0000 1.11 *************** *** 33,38 **** # Omit the selinux-testsuite if -lselinux is missing and the policy-devel code # is present. ! ifeq ($(strip $(SELINUX_LIBS)),) ! ifeq ($(wildcard $(DESTDIR)/usr/share/selinux),) FILTER_OUT_DIRS += selinux-testsuite endif --- 33,42 ---- # Omit the selinux-testsuite if -lselinux is missing and the policy-devel code # is present. ! ifneq ($(strip $(SELINUX_LIBS)),) ! FILTER_OUT_DIRS += selinux-testsuite ! else ! # NOTE (garrcoop): Keep this in sync with ! # testcases/kernel/security/selinux-testsuite/refpolicy/Makefile ! ifeq ($(wildcard $(DESTDIR)/usr/share/selinux/devel),) FILTER_OUT_DIRS += selinux-testsuite endif |
From: Garrett C. <yab...@us...> - 2010-01-28 15:23:49
|
Update of /cvsroot/ltp/ltp/testcases/kernel/security In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv29103/testcases/kernel/security Modified Files: Makefile Log Message: One minor note. policy-devel must be installed in order for the test suite to be compiled by default.. Signed-off-by: Garrett Cooper <yan...@gm...> Index: Makefile =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/security/Makefile,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Makefile 28 Jan 2010 14:58:23 -0000 1.9 --- Makefile 28 Jan 2010 15:23:41 -0000 1.10 *************** *** 31,38 **** endif ! # Omit the selinux-testsuite if -lselinux is missing. ifeq ($(strip $(SELINUX_LIBS)),) FILTER_OUT_DIRS += selinux-testsuite endif OPT_CFLAGS += -O --- 31,41 ---- endif ! # Omit the selinux-testsuite if -lselinux is missing and the policy-devel code ! # is present. ifeq ($(strip $(SELINUX_LIBS)),) + ifeq ($(wildcard $(DESTDIR)/usr/share/selinux),) FILTER_OUT_DIRS += selinux-testsuite endif + endif OPT_CFLAGS += -O |
From: Garrett C. <yab...@us...> - 2010-01-28 15:16:55
|
Update of /cvsroot/ltp/ltp/testscripts/build In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv28329 Modified Files: test_install_in_build_tree.sh test_install_out_of_build_tree.sh test_out_of_build_tree.sh Log Message: Checkin pull-build-test scripts. Signed-off-by: Garrett Cooper <yan...@gm...> Index: test_install_in_build_tree.sh =================================================================== RCS file: /cvsroot/ltp/ltp/testscripts/build/test_install_in_build_tree.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** test_install_in_build_tree.sh 14 Jan 2010 12:08:53 -0000 1.1 --- test_install_in_build_tree.sh 28 Jan 2010 15:16:47 -0000 1.2 *************** *** 29,39 **** setup_env # 1. Pull the SCM. ! pull_scm "$srcdir" # 2. Configure. configure "$srcdir" "$srcdir" "$srcdir" "" ! # 3. -->> Compile out-of-build-tree. <<-- build "$srcdir" "$srcdir" ! # 4. Install. ! install "$srcdir" "$srcdir" "" # 5. Test. test_ltp "$install_dir" --- 29,39 ---- setup_env # 1. Pull the SCM. ! pull_scm cvs "$tmp_srcdir" # 2. Configure. configure "$srcdir" "$srcdir" "$srcdir" "" ! # 3. -->> Compile in-build-tree. <<-- build "$srcdir" "$srcdir" ! # 4. -->> Install in-build-tree. <<-- ! install_ltp "$srcdir" "$srcdir" "" # 5. Test. test_ltp "$install_dir" Index: test_out_of_build_tree.sh =================================================================== RCS file: /cvsroot/ltp/ltp/testscripts/build/test_out_of_build_tree.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** test_out_of_build_tree.sh 14 Jan 2010 12:08:53 -0000 1.1 --- test_out_of_build_tree.sh 28 Jan 2010 15:16:47 -0000 1.2 *************** *** 29,39 **** setup_env # 1. Pull the SCM. ! pull_scm "$srcdir" # 2. Configure. ! configure "$srcdir" "$builddir" "$prefix" "$destdir" # 3. -->> Compile out-of-build-tree. <<-- ! build "$srcdir" "$builddir" # 4. Install. ! install "$srcdir" "$builddir" "$destdir" # 5. Test. test_ltp "$install_dir" --- 29,39 ---- setup_env # 1. Pull the SCM. ! pull_scm cvs "$tmp_srcdir" # 2. Configure. ! configure "$srcdir" "$tmp_builddir" "$prefix" "$destdir" # 3. -->> Compile out-of-build-tree. <<-- ! build "$srcdir" "$tmp_builddir" # 4. Install. ! install_ltp "$srcdir" "$tmp_builddir" "$destdir" # 5. Test. test_ltp "$install_dir" Index: test_install_out_of_build_tree.sh =================================================================== RCS file: /cvsroot/ltp/ltp/testscripts/build/test_install_out_of_build_tree.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** test_install_out_of_build_tree.sh 14 Jan 2010 12:08:53 -0000 1.1 --- test_install_out_of_build_tree.sh 28 Jan 2010 15:16:47 -0000 1.2 *************** *** 29,33 **** setup_env # 1. Pull the SCM. ! pull_scm "$srcdir" # 2. Configure. configure "$srcdir" "$srcdir" "$prefix" "$destdir" --- 29,33 ---- setup_env # 1. Pull the SCM. ! pull_scm cvs "$tmp_srcdir" # 2. Configure. configure "$srcdir" "$srcdir" "$prefix" "$destdir" *************** *** 35,39 **** build "$srcdir" "$srcdir" # 4. Install. ! install "$srcdir" "$srcdir" "$destdir" # 5. Test. test_ltp "$install_dir" --- 35,39 ---- build "$srcdir" "$srcdir" # 4. Install. ! install_ltp "$srcdir" "$srcdir" "$destdir" # 5. Test. test_ltp "$install_dir" |
From: Garrett C. <yab...@us...> - 2010-01-28 15:14:21
|
Update of /cvsroot/ltp/ltp/testscripts/build In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv27992 Added Files: build_test_function.sh Log Message: Checkin pull-build-test scripts. Signed-off-by: Garrett Cooper <yan...@gm...> --- NEW FILE: build_test_function.sh --- #!/bin/sh # # Copyright (C) 2010, Cisco Systems Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # # Garrett Cooper, January 2010 set -x # Temporary directory setup. setup_env() { testscript_dir=$(readlink -f "${0%/*}") unset vars if tmp_builddir=$(mktemp -d) ; then vars="$vars $tmp_builddir" else tst_brkm tst_exit TBROK 'Failed to create tmp_builddir'; fi if tmp_destdir=$(mktemp -d) ; then vars="$vars $destdir" else tst_brkm tst_exit TBROK 'Failed to create tmp_destdir'; fi if tmp_srcdir=$(mktemp -d) ; then vars="$vars $tmp_srcdir" else tst_brkm tst_exit TBROK 'Failed to create tmp_srcdir'; fi trap cleanup EXIT } cleanup() { cd / trap '' EXIT rm -Rf $vars } # Pull from CVS. cvs_pull() { export CVSROOT=:pserver:ano...@lt...:/cvsroot/ltp if ([ -f ~/.cvspass ] || touch ~/.cvspass) ; then cvs -d$CVSROOT login && cvs -z3 export -f -r HEAD ltp && srcdir="$PWD/ltp" fi } # Pull from git. # # XXX (garrcoop): doesn't work (produces an empty repository). #git_pull() { # git clone git://ltp.git.sourceforge.net/gitroot/ltp/ltp #} # Pull a fresh copy of the repository for building. # # 1 - pull method (currently only cvs is supported, but git may be supported # in the future). # 2 - source directory. # pull_scm() { cd "$2" && eval "${1}_pull" } # Configure a source tree for building. # # 1 - source directory # 2 - build directory (where to deposit the files produced by configure). # 3 - the argument to pass to --prefix. # 4 - DESTDIR. # # NOTE (garrcoop): Only --prefix argument needs to be passed to configure; I # set it up to pass DESTDIR as well so it will properly set the installdir # global and thus I won't need to include the same checks down below... configure() { abspath=$(readlink -f "$testscript_dir/../../scripts/abspath.sh") if [ "x$2" != x ] ; then (test -d "$2" || mkdir -p "$2") || return $? fi make -C "$1" autotools || return $? ARGS= [ "x$3" != x ] && ARGS="--prefix=$("$abspath" $3)" cd "$2" && "$1/configure" $ARGS install_dir=$("$abspath" "$4/$3") } # Build a source tree. # # 1 - source directory # 2 - build directory build() { make ${2:--C "$2"} ${1:-top_srcdir=$1} all } # Install the binaries and scripts from a build tree. # # 1 - source directory # 2 - build directory install_ltp() { make ${2:--C "$2"} ${1:-top_srcdir=$1} install } # Run a test on the installed tree. # # 1 install directory - installed tree, e.g. $(DESTDIR)/$(prefix) test_ltp() { # XXX (garrcoop): I haven't tracked down the root cause for the # issue, but some versions of sed combined with some terminal # configurations cause sed to block waiting for EOF on certain # platforms when executing runltp. Thus, we should effectively close # /dev/stdin before executing runltp via execltp. cd "$1" && "$1/bin/execltp" < /dev/null } |
From: Garrett C. <yab...@us...> - 2010-01-28 15:09:52
|
Update of /cvsroot/ltp/ltp/testcases/kernel/security/selinux-testsuite/tests/file In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv27517/testcases/kernel/security/selinux-testsuite/tests/file Modified Files: selinux_file.sh Log Message: Better conditionalize setup -> test -> cleanup, and fix issue noted by Stephen... Signed-off-by: Garrett Cooper <yan...@gm...> Index: selinux_file.sh =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/security/selinux-testsuite/tests/file/selinux_file.sh,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** selinux_file.sh 26 Jan 2010 07:05:02 -0000 1.10 --- selinux_file.sh 28 Jan 2010 15:09:42 -0000 1.11 *************** *** 18,48 **** export TST_TOTAL=14 SELINUXTMPDIR=$(mktemp -d) chcon -t test_file_t $SELINUXTMPDIR ! # ! # Create the temp files ! # ! dd if=/dev/zero of=$SELINUXTMPDIR/temp_file count=2 ibs=1024 2>&1 > /dev/null ! dd if=/dev/zero of=$SELINUXTMPDIR/temp_file2 count=2 ibs=1024 2>&1 > /dev/null ! dd if=/dev/zero of=$SELINUXTMPDIR/temp_file3 count=2 ibs=1024 2>&1 > /dev/null ! chmod 775 $SELINUXTMPDIR/temp_file 2>&1 > /dev/null ! chmod 775 $SELINUXTMPDIR/temp_file2 2>&1 > /dev/null ! # ! # Change the context for the file the good domain only has access to. ! # ! chcon -t fileop_file_t $SELINUXTMPDIR/temp_file 2>&1 > /dev/null ! # ! # Change the context for the r/w file for the bad domain ! # ! chcon -t nofileop_rw_file_t $SELINUXTMPDIR/temp_file2 2>&1 > /dev/null ! # ! # Change the context for the read-only access file for the bad domain ! # ! chcon -t nofileop_ra_file_t $SELINUXTMPDIR/temp_file3 2>&1 > /dev/null # # Change the context of the test executable --- 18,64 ---- export TST_TOTAL=14 + LTPBIN=${LTPBIN:-$LTPROOT/testcases/bin} SELINUXTMPDIR=$(mktemp -d) chcon -t test_file_t $SELINUXTMPDIR ! if SELINUXTMPDIR=$(mktemp -d); then ! chcon -t test_file_t $SELINUXTMPDIR ! # ! # Create the temp files ! # ! dd if=/dev/zero of=$SELINUXTMPDIR/temp_file count=2 ibs=1024 2>&1 > /dev/null ! dd if=/dev/zero of=$SELINUXTMPDIR/temp_file2 count=2 ibs=1024 2>&1 > /dev/null ! dd if=/dev/zero of=$SELINUXTMPDIR/temp_file3 count=2 ibs=1024 2>&1 > /dev/null ! chmod 775 $SELINUXTMPDIR/temp_file 2>&1 > /dev/null ! chmod 775 $SELINUXTMPDIR/temp_file2 2>&1 > /dev/null ! # ! # Change the context for the file the good domain only has access to. ! # ! chcon -t fileop_file_t $SELINUXTMPDIR/temp_file 2>&1 > /dev/null + # + # Change the context for the r/w file for the bad domain + # + chcon -t nofileop_rw_file_t $SELINUXTMPDIR/temp_file2 2>&1 > /dev/null + + # + # Change the context for the read-only access file for the bad domain + # + chcon -t nofileop_ra_file_t $SELINUXTMPDIR/temp_file3 2>&1 > /dev/null + + # + # Change the context of the test executable + # + chcon -t fileop_exec_t $LTPBIN/selinux_wait_io 2>&1 > /dev/null + + # + # Get the SID of the good file. + # + good_file_sid=`ls -Z $SELINUXTMPDIR/temp_file | awk '{print $4}'` + + fi # # Change the context of the test executable *************** *** 50,57 **** chcon -t fileop_exec_t selinux_wait_io 2>&1 > /dev/null - # - # Get the SID of the good file. - # - good_file_sid=`ls -Z $SELINUXTMPDIR/temp_file | awk '{print $4}'` } --- 66,69 ---- *************** *** 373,391 **** EXIT_VAL=0 ! setup ! test01 || EXIT_VAL=$RC ! test02 || EXIT_VAL=$RC ! test03 || EXIT_VAL=$RC ! test04 || EXIT_VAL=$RC ! test05 || EXIT_VAL=$RC ! test06 || EXIT_VAL=$RC ! test07 || EXIT_VAL=$RC ! test08 || EXIT_VAL=$RC ! test09 || EXIT_VAL=$RC ! test10 || EXIT_VAL=$RC ! test11 || EXIT_VAL=$RC ! test12 || EXIT_VAL=$RC ! test13 || EXIT_VAL=$RC ! test14 || EXIT_VAL=$RC ! cleanup exit $EXIT_VAL --- 385,404 ---- EXIT_VAL=0 ! if setup ; then ! test01 || EXIT_VAL=$RC ! test02 || EXIT_VAL=$RC ! test03 || EXIT_VAL=$RC ! test04 || EXIT_VAL=$RC ! test05 || EXIT_VAL=$RC ! test06 || EXIT_VAL=$RC ! test07 || EXIT_VAL=$RC ! test08 || EXIT_VAL=$RC ! test09 || EXIT_VAL=$RC ! test10 || EXIT_VAL=$RC ! test11 || EXIT_VAL=$RC ! test12 || EXIT_VAL=$RC ! test13 || EXIT_VAL=$RC ! test14 || EXIT_VAL=$RC ! cleanup ! fi exit $EXIT_VAL |
From: Garrett C. <yab...@us...> - 2010-01-28 15:03:36
|
Update of /cvsroot/ltp/ltp/testcases/kernel/security/selinux-testsuite/tests/shm In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv26795/testcases/kernel/security/selinux-testsuite/tests/shm Modified Files: selinux_shmat.c Log Message: Fix a SEGV as noted by Stephen because the old code was deref'ing -1 on shmat failure. As per the manpage... segment; on error (void *) -1 is returned, and errno is set to indicate the cause of the error. On success shmdt() returns 0; on error -1 is returned, and errno is set to indicate the cause of the error. Signed-off-by: Garrett Cooper <yan...@gm...> Index: selinux_shmat.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/security/selinux-testsuite/tests/shm/selinux_shmat.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** selinux_shmat.c 13 Jan 2010 08:16:57 -0000 1.4 --- selinux_shmat.c 28 Jan 2010 15:03:25 -0000 1.5 *************** *** 41,45 **** buf = shmat(id, 0, 0); ! error = (*buf == -1) ? -1 : 0; printf("shmat: buf=%p, returned %d\n", buf, error); return error; --- 41,45 ---- buf = shmat(id, 0, 0); ! error = (buf == (void*) -1) ? -1 : 0; printf("shmat: buf=%p, returned %d\n", buf, error); return error; |
From: Garrett C. <yab...@us...> - 2010-01-28 14:58:31
|
Update of /cvsroot/ltp/ltp/testcases/kernel/security In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv26136/testcases/kernel/security Modified Files: Makefile Log Message: Add selinux-testsuite to the default build if -lselinux is set, as the selinux-tesuite is fixed now. Signed-off-by: Garrett Cooper <yan...@gm...> Index: Makefile =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/security/Makefile,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Makefile 9 Oct 2009 17:55:50 -0000 1.8 --- Makefile 28 Jan 2010 14:58:23 -0000 1.9 *************** *** 31,37 **** endif ! # selinux-testsuite doesn't compile cleanly, so let the user manually compile ! # the testcases for it. FILTER_OUT_DIRS += selinux-testsuite OPT_CFLAGS += -O --- 31,38 ---- endif ! # Omit the selinux-testsuite if -lselinux is missing. ! ifeq ($(strip $(SELINUX_LIBS)),) FILTER_OUT_DIRS += selinux-testsuite + endif OPT_CFLAGS += -O |
From: Garrett C. <yab...@us...> - 2010-01-28 05:55:52
|
Update of /cvsroot/ltp/ltp/testscripts In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv19773/testscripts Modified Files: test_selinux.sh Log Message: Grab absolute path for $LTPROOT to avoid cases where the script was called from a relative path, and thus screws up execution. Signed-off-by: Garrett Cooper <yan...@gm...> Index: test_selinux.sh =================================================================== RCS file: /cvsroot/ltp/ltp/testscripts/test_selinux.sh,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** test_selinux.sh 27 Jan 2010 06:28:44 -0000 1.21 --- test_selinux.sh 28 Jan 2010 05:55:43 -0000 1.22 *************** *** 38,42 **** # set the LTPROOT directory ! LTPROOT=${LTPROOT:=${0%/*}} cd "$LTPROOT" export TMP=${TMP:-/tmp} --- 38,42 ---- # set the LTPROOT directory ! LTPROOT=$(readlink -f "${LTPROOT:=${0%/*}}") cd "$LTPROOT" export TMP=${TMP:-/tmp} *************** *** 53,58 **** # set the PATH to include testcase/bin - export PATH=$PATH:/usr/sbin:$LTPROOT/testcases/bin export LTPBIN=$LTPROOT/testcases/bin # We will store the logfiles in $LTPROOT/results, so make sure --- 53,58 ---- # set the PATH to include testcase/bin export LTPBIN=$LTPROOT/testcases/bin + export PATH=$PATH:/usr/sbin:$LTPBIN # We will store the logfiles in $LTPROOT/results, so make sure |
From: Garrett C. <yab...@us...> - 2010-01-28 03:43:53
|
Update of /cvsroot/ltp/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv5363/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend Modified Files: 3-1.c Log Message: When the aio_suspend/3-1.test ran, SIGSEGV occured with following message on my x86_64 box. --- /bin/sh: line 38: 10675 Segmentation fault ./t0 240 conformance/interfaces/aio_suspend/3-1.test $COMPLOG 2>&1 --- This test does not initialize a list[1] array as follows. --- 40 int main() ... 88 list[0] = NULL; 89 list[2] = &aiocb[0]; 90 list[3] = NULL; 91 list[4] = NULL; 92 list[5] = &aiocb[1]; 93 list[6] = &aiocb[2]; 94 list[7] = NULL; ... --- So, list[1] holds a strange value. Since aio_suspend() uses this value as address, SIGSEGV occurred. When applying this patch, this test succeeds as follows. --- conformance/interfaces/aio_suspend/3-1: execution: PASS --- Signed-off-by: Yasuaki Ishimatsu <isi...@jp...> Index: 3-1.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/3-1.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** 3-1.c 3 Jun 2005 16:30:22 -0000 1.3 --- 3-1.c 28 Jan 2010 03:43:45 -0000 1.4 *************** *** 82,92 **** } ! list[0] = NULL; list[2] = &aiocb[0]; - list[3] = NULL; - list[4] = NULL; list[5] = &aiocb[1]; list[6] = &aiocb[2]; - list[7] = NULL; if (aio_suspend(list, NENT, NULL) != 0) --- 82,89 ---- } ! memset(&list, 0, sizeof(list)); list[2] = &aiocb[0]; list[5] = &aiocb[1]; list[6] = &aiocb[2]; if (aio_suspend(list, NENT, NULL) != 0) |
From: Peter O. <obe...@us...> - 2010-01-27 16:38:04
|
Update of /cvsroot/ltp/utils/analysis/lcov/bin In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv15480 Modified Files: gendesc Log Message: gendesc: fix problem with single word descriptions Index: gendesc =================================================================== RCS file: /cvsroot/ltp/utils/analysis/lcov/bin/gendesc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** gendesc 18 Nov 2009 09:39:21 -0000 1.9 --- gendesc 27 Jan 2010 16:37:50 -0000 1.10 *************** *** 173,177 **** chomp($_); ! if (/^\s*(\w[\w-]*)(\s*)$/) { # Matched test name --- 173,177 ---- chomp($_); ! if (/^(\w[\w-]*)(\s*)$/) { # Matched test name |
From: Peter O. <obe...@us...> - 2010-01-27 12:10:12
|
Update of /cvsroot/ltp/utils/analysis/lcov/bin In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv13743 Modified Files: lcov Log Message: lcov: remove temporary files when creating a package Index: lcov =================================================================== RCS file: /cvsroot/ltp/utils/analysis/lcov/bin/lcov,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** lcov 27 Jan 2010 12:00:05 -0000 1.55 --- lcov 27 Jan 2010 12:10:04 -0000 1.56 *************** *** 946,949 **** --- 946,953 ---- and die("ERROR: could not create package $file\n"); + # Remove temporary files + unlink("$dir/$pkg_build_file"); + unlink("$dir/$pkg_gkv_file"); + # Show number of data files if (!$quiet) { |
From: Peter O. <obe...@us...> - 2010-01-27 12:00:14
|
Update of /cvsroot/ltp/utils/analysis/lcov/bin In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv12356 Modified Files: genhtml lcov Log Message: lcov: correctly retain information about converted test data Index: genhtml =================================================================== RCS file: /cvsroot/ltp/utils/analysis/lcov/bin/genhtml,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** genhtml 26 Jan 2010 09:36:19 -0000 1.41 --- genhtml 27 Jan 2010 12:00:05 -0000 1.42 *************** *** 1296,1300 **** foreach ($line) { ! /^TN:([^,]*)/ && do { # Test name information found --- 1296,1300 ---- foreach ($line) { ! /^TN:([^,]*)(,diff)?/ && do { # Test name information found *************** *** 1304,1307 **** --- 1304,1308 ---- $changed_testname = 1; } + $testname .= $2 if (defined($2)); last; }; Index: lcov =================================================================== RCS file: /cvsroot/ltp/utils/analysis/lcov/bin/lcov,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** lcov 27 Jan 2010 10:17:43 -0000 1.54 --- lcov 27 Jan 2010 12:00:05 -0000 1.55 *************** *** 1483,1487 **** foreach ($line) { ! /^TN:([^,]*)/ && do { # Test name information found --- 1483,1487 ---- foreach ($line) { ! /^TN:([^,]*)(,diff)?/ && do { # Test name information found *************** *** 1491,1494 **** --- 1491,1495 ---- $changed_testname = 1; } + $testname .= $2 if (defined($2)); last; }; |
From: Peter O. <obe...@us...> - 2010-01-27 10:17:51
|
Update of /cvsroot/ltp/utils/analysis/lcov/bin In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv29783 Modified Files: lcov Log Message: lcov. fixed overview output for function data Index: lcov =================================================================== RCS file: /cvsroot/ltp/utils/analysis/lcov/bin/lcov,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -d -r1.53 -r1.54 *** lcov 22 Jan 2010 16:16:47 -0000 1.53 --- lcov 27 Jan 2010 10:17:43 -0000 1.54 *************** *** 408,412 **** if (defined($ln_overall_found)) { print_overall_rate(1, $ln_overall_found, $ln_overall_hit, ! 1, $fn_overall_found, $br_overall_hit, 1, $br_overall_found, $br_overall_hit); } else { --- 408,412 ---- if (defined($ln_overall_found)) { print_overall_rate(1, $ln_overall_found, $ln_overall_hit, ! 1, $fn_overall_found, $fn_overall_hit, 1, $br_overall_found, $br_overall_hit); } else { |
From: Garrett C. <yab...@us...> - 2010-01-27 06:33:45
|
Update of /cvsroot/ltp/ltp/testcases/kernel/security/selinux-testsuite/tests/capable_net In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv24089/capable_net Modified Files: selinux_capable_net.sh Log Message: Fix another reporting inconsistency. Signed-off-by: Garrett Cooper <yan...@gm...> Index: selinux_capable_net.sh =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/security/selinux-testsuite/tests/capable_net/selinux_capable_net.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** selinux_capable_net.sh 25 Jan 2010 23:50:19 -0000 1.4 --- selinux_capable_net.sh 27 Jan 2010 06:33:37 -0000 1.5 *************** *** 98,102 **** RC=0 else ! echo "$TCID FAIL : capable_net failed." RC=1 fi --- 98,102 ---- RC=0 else ! tst_resm TFAIL "capable_net failed." RC=1 fi |
From: Garrett C. <yab...@us...> - 2010-01-27 06:32:30
|
Update of /cvsroot/ltp/ltp/testcases/kernel/security/selinux-testsuite/tests/dyntrace In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv24005/dyntrace Modified Files: selinux_dyntrace.sh Log Message: Fix an inconsistency with the reporting in this script. Signed-off-by: Garrett Cooper <yan...@gm...> Index: selinux_dyntrace.sh =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/security/selinux-testsuite/tests/dyntrace/selinux_dyntrace.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** selinux_dyntrace.sh 25 Jan 2010 23:50:19 -0000 1.4 --- selinux_dyntrace.sh 27 Jan 2010 06:32:22 -0000 1.5 *************** *** 34,38 **** if [ $RC -eq 0 ] then ! echo "$TCID PASS : dyntrace passed." else tst_resm TFAIL "dyntrace failed." --- 34,38 ---- if [ $RC -eq 0 ] then ! tst_resm TPASS "dyntrace passed." else tst_resm TFAIL "dyntrace failed." |
From: Garrett C. <yab...@us...> - 2010-01-27 06:28:53
|
Update of /cvsroot/ltp/ltp/testscripts In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv23594/testscripts Modified Files: test_selinux.sh Log Message: Perform the last set of fixups for the selinux test suite. Signed-off-by: Garrett Cooper <yan...@gm...> Index: test_selinux.sh =================================================================== RCS file: /cvsroot/ltp/ltp/testscripts/test_selinux.sh,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** test_selinux.sh 26 Jan 2010 07:05:02 -0000 1.20 --- test_selinux.sh 27 Jan 2010 06:28:44 -0000 1.21 *************** *** 41,45 **** cd "$LTPROOT" export TMP=${TMP:-/tmp} ! # If we're in the testscripts directory, go down a dir.. LTPROOT_TMP=${LTPROOT%/testscripts} if [ "x${LTPROOT_TMP}" != "x${LTPROOT}" ] --- 41,45 ---- cd "$LTPROOT" export TMP=${TMP:-/tmp} ! # If we're in the testscripts directory, go up a dir.. LTPROOT_TMP=${LTPROOT%/testscripts} if [ "x${LTPROOT_TMP}" != "x${LTPROOT}" ] *************** *** 90,94 **** # install the test policy... echo "Installing test_policy module..." - cd $POLICYDIR if ! semodule -i $POLICYDIR/test_policy.pp; then echo "Failed to install test_policy module, aborting test run." --- 90,93 ---- *************** *** 101,107 **** config_unset_expandcheck - # go back to test's root directory - cd $LTPROOT - echo "Running the SELinux testsuite..." --- 100,103 ---- *************** *** 113,118 **** # Save and restore later. SAVEBINTYPE=`ls -Zd $LTPROOT/testcases/bin | awk '{ print $4 }' | awk -F: '{ print $3 }'` ! /usr/bin/chcon -t test_file_t $LTPROOT/testcases/bin \ ! $(awk '$1 !~ /^#/ { print $2 }' "$LTPROOT/runtest/selinux") $LTPROOT/bin/ltp-pan -S -a $LTPROOT/results/selinux -n ltp-selinux \ --- 109,113 ---- # Save and restore later. SAVEBINTYPE=`ls -Zd $LTPROOT/testcases/bin | awk '{ print $4 }' | awk -F: '{ print $3 }'` ! /usr/bin/chcon -R -t test_file_t "$LTPROOT/testcases/bin" $LTPROOT/bin/ltp-pan -S -a $LTPROOT/results/selinux -n ltp-selinux \ *************** *** 128,132 **** echo "Removing test_policy module..." - cd $POLICYDIR if ! semodule -r test_policy; then echo "Failed to remove test_policy module." --- 123,126 ---- |