[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#496411: #496411: nothing was fixed at all



found 496411 20060918-3
found 496411 20081031+dfsg-1
thanks

I have found all of the reported issues in BOTH versions marked as fixed.
Please stop blindly closing this report and *do verify* everything is fixed.

Attached are the results of a quick grep on both packages.

Regards,
-- 
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net
grep -r /tmp/ -A5 -B5 usr/lib/debian-test/tests/linux/ 2>/dev/null | cut -d/ -f8-





rwtest01%f





ns-udpsender matches
test_1_to_1_nonblock matches
test_1_to_1_connectx matches
test_1_to_1_socket_bind_listen matches
opts_e matches
--
nfsstress-
nfsstress-# Setting the NFS to version 2 with UDP by default
nfsstress-PID=$$
nfsstress-VERSION=${VERSION:=2}
nfsstress-SOCKET_TYPE=${SOCKET_TYPE:=udp}
nfsstress:TESTDIR=${TESTDIR:=/tmp/$TC$PID.testdir}
nfsstress-NFS_TYPE=${NFS_TYPE:=nfs}
nfsstress-
nfsstress-# If CLEANUP is not set; set it to "ON"
nfsstress-CLEANUP=${CLEANUP:="ON"}
nfsstress-
test_1_to_1_events matches
test_assoc_abort matches
ns-mcast_join matches
open_files matches
test_1_to_1_sendmsg matches
--
nfs01-
nfs01-    VERSION=${VERSION:=2}
nfs01-    RHOST=${RHOST:=`hostname`}
nfs01-    NFILES=${NFILES:=1000}
nfs01-    SOCKET_TYPE=${SOCKET_TYPE:=udp}
nfs01:    TESTDIR=${TESTDIR:=/tmp/$TC$PID.testdir}
nfs01-    NFS_TYPE=${NFS_TYPE:=nfs}
nfs01-
nfs01-    echo ""
nfs01-    echo "Test Options:"
nfs01-    echo " VERSION: $VERSION"
test_recvmsg matches
test_sockopt matches
ltpServer matches
test_1_to_1_send matches
test_sockopt_v6 matches
rpc1 matches
test_1_to_1_addrs matches
opts matches
test_inaddr_any_v6 matches
--
xinetd_tests.sh-    trap "cleanup" 0
xinetd_tests.sh-
xinetd_tests.sh-    # create the temporary directory used by this testcase
xinetd_tests.sh-    if [ -z $TMP ]
xinetd_tests.sh-    then
xinetd_tests.sh:        LTPTMP=/tmp/tst_xinetd.$$
xinetd_tests.sh-    else
xinetd_tests.sh-        LTPTMP=$TMP/tst_xinetd.$$
xinetd_tests.sh-    fi
xinetd_tests.sh-
xinetd_tests.sh-    mkdir -p $LTPTMP &>/dev/null || RC=$?
--
traceroute_tests.sh-    trap "cleanup" 0
traceroute_tests.sh-
traceroute_tests.sh-    # create the temporary directory used by this testcase
traceroute_tests.sh-    if [ -z $TMP ]
traceroute_tests.sh-    then
traceroute_tests.sh:        LTPTMP=/tmp/tst_traceroute.$$
traceroute_tests.sh-    else
traceroute_tests.sh-        LTPTMP=$TMP/tst_traceroute.$$
traceroute_tests.sh-    fi
traceroute_tests.sh-
traceroute_tests.sh-    mkdir -p $LTPTMP &>/dev/null || RC=$?
--
tcpdump01-#Uncomment line below for debug output.
tcpdump01-#trace_logic=${trace_logic:-"set -x"}
tcpdump01-$trace_logic
tcpdump01-
tcpdump01-TC=tcpdump
tcpdump01:TCtmp=${TCtmp:-/tmp/$TC$$}
tcpdump01-RHOST=${RHOST:-`hostname`}
tcpdump01-IFNAME=${IFNAME:-$(netstat -i -n | grep "^[b-z]\{2,4\}[0-9][^*]" | awk '{print $1}' | head -n1)}
tcpdump01-NUMLOOPS=${NUMLOOPS:-20}
tcpdump01-OUTFILE=$TCtmp/tcpdump_out
tcpdump01-LTPROOT=${LTPROOT:-"../../../../"}
test_1_to_1_connect matches
nfs04_create_file matches
test_1_to_1_recvmsg matches
--
nfs03-PID=$$
nfs03-
nfs03-# Setting the NFS to version 2 by default
nfs03-VERSION=${VERSION:=2}
nfs03-SOCKET_TYPE=${SOCKET_TYPE:=udp}
nfs03:TESTDIR=${TESTDIR:=/tmp/$TC$PID.testdir}
nfs03-NFS_TYPE=${NFS_TYPE:=nfs}
nfs03-
nfs03-# If CLEANUP is not set; set it to "ON"
nfs03-CLEANUP=${CLEANUP:="ON"}
nfs03-
test_1_to_1_sockopt matches
ns-igmp_querier matches
test_basic_v6 matches
ns-udpclient matches
test_assoc_shutdown matches
ns-icmpv6_sender matches
test_1_to_1_shutdown matches
ns-tcpserver matches
test_inaddr_any matches
pingpong matches
test_fragments_v6 matches
--
dhcpd_tests.sh-	export TCID="dhcpd  "		# this is the init function.
dhcpd_tests.sh-	export TST_COUNT=0			# init identifier,
dhcpd_tests.sh-
dhcpd_tests.sh-	if [ -z $TMP ]
dhcpd_tests.sh-	then
dhcpd_tests.sh:		LTPTMP=/tmp/tst_dhcpd.$$/
dhcpd_tests.sh-	else
dhcpd_tests.sh-		LTPTMP=$TMP/tst_dhcpd.$$/
dhcpd_tests.sh-	fi
dhcpd_tests.sh-
dhcpd_tests.sh-	# Initialize cleanup function.
--
nfsstat01-
nfsstat01-PID=$$
nfsstat01-
nfsstat01-TC=nfsstat01
nfsstat01-TCbin=${TCbin:=`pwd`}
nfsstat01:EXPORTDIR=${EXPORTDIR:=/tmp/$TC$PID}
nfsstat01-HOST=`hostname`
nfsstat01-CLEANUP=${CLEANUP:="ON"}
nfsstat01-VERSION=${VERSION:=2}
nfsstat01:TESTDIR=${TESTDIR:=/tmp/$TC$PID.testdir}
nfsstat01-NFS_TYPE=${NFS_TYPE:nfs}
nfsstat01-
nfsstat01-if [ "x$NFS_TYPE" != "xnfs4" ]; then
nfsstat01-    OPTS=${OPTS:="-o vers=$VERSION "}
nfsstat01-fi
test_connectx matches
--
nfs02-PID=$$
nfs02-
nfs02-RHOST=${RHOST:=`hostname`}
nfs02-VERSION=${VERSION:=2}
nfs02-SOCKET_TYPE=${SOCKET_TYPE:=udp}
nfs02:TESTDIR=${TESTDIR:=/tmp/$TC$PID.testdir}
nfs02-CLEANUP=${CLEANUP:="ON"}
nfs02-NFS_TYPE=${NFS_TYPE:=nfs}
nfs02-
nfs02-#---------------------------------------------------------------------#
nfs02-# FUNCTION: do_setup
ns-tcpclient matches
test_1_to_1_recvfrom matches
rpc_server matches
ltpClient matches
--
mc_cmds-#Uncomment line below for debug output.
mc_cmds-#trace_logic=${trace_logic:-"set -x"}
mc_cmds-$trace_logic
mc_cmds-
mc_cmds-TC=mc_cmds
mc_cmds:PING_OUT=/tmp/${TC}_out
mc_cmds-LTPROOT=${LTPROOT:-../../../..}
mc_cmds-HOSTNAME=`hostname`
mc_cmds-CLEANUP=${CLEANUP:-ON}
mc_cmds-#*******************************************************************************
mc_cmds-#
ns-udpserver matches
--
nfs_fsstress.sh-
nfs_fsstress.sh-#Convert to seconds
nfs_fsstress.sh-DURATION=$(( $DURATION * 60 * 60 ))
nfs_fsstress.sh-
nfs_fsstress.sh-echo "Setting up local mount points"
nfs_fsstress.sh:mkdir -p /tmp/udp/2/${HOSTNAME}1
nfs_fsstress.sh:mkdir -p /tmp/tcp/2/${HOSTNAME}2
nfs_fsstress.sh:mkdir -p /tmp/udp/3/${HOSTNAME}3
nfs_fsstress.sh:mkdir -p /tmp/tcp/3/${HOSTNAME}4
nfs_fsstress.sh-
nfs_fsstress.sh-echo "Mounting NFS filesystem"
nfs_fsstress.sh:mount -o "intr,soft,proto=udp,vers=2" $RHOST:$FILESYSTEM /tmp/udp/2/${HOSTNAME}1 >/dev/null 2>&1
nfs_fsstress.sh-if [ $? -ne 0 ];then
nfs_fsstress.sh-  echo "Error: mount using UDP & version 2 failed"
nfs_fsstress.sh-  exit 1 
nfs_fsstress.sh-fi
nfs_fsstress.sh:mount -o "intr,soft,proto=tcp,vers=2" $RHOST:$FILESYSTEM /tmp/tcp/2/${HOSTNAME}2 >/dev/null 2>&1
nfs_fsstress.sh-if [ $? -ne 0 ];then
nfs_fsstress.sh-  echo "Error: mount using TCP & version 2 failed"
nfs_fsstress.sh-  exit 1 
nfs_fsstress.sh-fi
nfs_fsstress.sh:mount -o "intr,soft,proto=udp,vers=3" $RHOST:$FILESYSTEM /tmp/udp/3/${HOSTNAME}3 >/dev/null 2>&1
nfs_fsstress.sh-if [ $? -ne 0 ];then
nfs_fsstress.sh-  echo "Error: mount using UDP & version 3 failed"
nfs_fsstress.sh-  exit 1 
nfs_fsstress.sh-fi
nfs_fsstress.sh:mount -o "intr,soft,proto=tcp,vers=3" $RHOST:$FILESYSTEM /tmp/tcp/3/${HOSTNAME}4 >/dev/null 2>&1
nfs_fsstress.sh-if [ $? -ne 0 ];then
nfs_fsstress.sh-  echo "Error: mount using TCP & version 3 failed"
nfs_fsstress.sh-  exit 1 
nfs_fsstress.sh-fi
nfs_fsstress.sh-
nfs_fsstress.sh-echo "Test set for $DURATION seconds. Starting test processes now."
nfs_fsstress.sh:./fsstress -l 0 -d /tmp/udp/2/${HOSTNAME}1 -n 1000 -p 50 -r > /tmp/nfs_fsstress.udp.2.log 2>&1 &
nfs_fsstress.sh:./fsstress -l 0 -d /tmp/udp/3/${HOSTNAME}2 -n 1000 -p 50 -r > /tmp/nfs_fsstress.udp.3.log 2>&1 &
nfs_fsstress.sh:./fsstress -l 0 -d /tmp/tcp/2/${HOSTNAME}3 -n 1000 -p 50 -r > /tmp/nfs_fsstress.tcp.2.log 2>&1 &
nfs_fsstress.sh:./fsstress -l 0 -d /tmp/tcp/3/${HOSTNAME}4 -n 1000 -p 50 -r > /tmp/nfs_fsstress.tcp.3.log 2>&1 &
nfs_fsstress.sh-
nfs_fsstress.sh-echo "Starting sar"
nfs_fsstress.sh:sar -o /tmp/nfs_fsstress.sardata 30 0 &
nfs_fsstress.sh-
nfs_fsstress.sh-echo "Testing in progress"
nfs_fsstress.sh-sleep $DURATION
nfs_fsstress.sh-echo "Testing done. Killing processes."
nfs_fsstress.sh-killall -9 sadc 
--
nfs_fsstress.sh-  TESTING=$?
nfs_fsstress.sh-done 
nfs_fsstress.sh-echo " "
nfs_fsstress.sh-echo "All processes killed."
nfs_fsstress.sh-echo "Unmounting NFS filesystem"
nfs_fsstress.sh:umount /tmp/udp/2/${HOSTNAME}1
nfs_fsstress.sh:umount /tmp/tcp/2/${HOSTNAME}2
nfs_fsstress.sh:umount /tmp/udp/3/${HOSTNAME}3
nfs_fsstress.sh:umount /tmp/tcp/3/${HOSTNAME}4
nfs_fsstress.sh-echo " Testing Complete: PASS"
nfs_fsstress.sh-
nfs_fsstress.sh-
test_connect matches
test_peeloff_v6 matches
--
ftp_setup_vsftp_conf-#!/bin/sh
ftp_setup_vsftp_conf-
ftp_setup_vsftp_conf:grep -v "local_enable" /etc/vsftpd.conf > /tmp/vsftpd.conf
ftp_setup_vsftp_conf:mv -f /tmp/vsftpd.conf /etc/vsftpd.conf
ftp_setup_vsftp_conf-echo "local_enable=YES" >> /etc/vsftpd.conf
test_peeloff matches
test_sctp_sendrecvmsg matches
test_timetolive_v6 matches
--
rwho01-$trace_logic
rwho01-
rwho01-LHOST=`hostname | cut -f1 -d.`
rwho01-RHOST=${RHOST:-$LHOST}
rwho01-TC=rwho
rwho01:TCtmp=${TCtmp:-/tmp/$TC}
rwho01-CLEANUP=${CLEANUP:-ON}
rwho01-
rwho01-PID=0
rwho01-RHOST_PID=0
rwho01-SLEEPTIME=${SLEEPTIME:-20}
--
ip_tests.sh-	export TCID="ip_tests  "		# this is the init function.
ip_tests.sh-	export TST_COUNT=0			# init identifier,
ip_tests.sh-
ip_tests.sh-	if [ -z $TMP ]
ip_tests.sh-	then
ip_tests.sh:		LTPTMP=/tmp/tst_ip.$$/
ip_tests.sh-	else
ip_tests.sh-		LTPTMP=$TMP/tst_ip.$$/
ip_tests.sh-	fi
ip_tests.sh-
ip_tests.sh-	# Initialize cleanup function.
test_tcp_style matches
test_timetolive matches
--
tcpdump601-#Uncomment line below for debug output.
tcpdump601-#trace_logic=${trace_logic:-"set -x"}
tcpdump601-$trace_logic
tcpdump601-
tcpdump601-TC=tcpdump
tcpdump601:TCtmp=${TCtmp:-/tmp/$TC$$}
tcpdump601-RHOST=${RHOST:-`hostname`}
tcpdump601-NUMLOOPS=${NUMLOOPS:-20}
tcpdump601-OUTFILE=$TCtmp/tcpdump_out
tcpdump601-
tcpdump601-#******************************************************************************
test_1_to_1_initmsg_connect matches
test_1_to_1_sendto matches
--
mc_commo-$trace_logic
mc_commo-
mc_commo-
mc_commo-TC=mc_commo
mc_commo-TCsrc=${TCsrc:-`pwd`}
mc_commo:TCtmp=${TCtmp:-"/tmp/mc_commo.$$"}
mc_commo-CLEANUP=${CLEANUP:-ON}
mc_commo-EXECUTABLES="mc_recv"
mc_commo-REMOTE_EXEC="mc_send"
mc_commo-LTPROOT=${LTPROOT:-../../../..}
mc_commo-TTL=10
test_basic matches
test_autoclose matches
--
nfs04-#-----------------------------------------------------------------------
nfs04-# Initialize local variables
nfs04-#-----------------------------------------------------------------------
nfs04-TC=${TC:=nfs04}
nfs04-TCbin=${TCbin:=`pwd`}
nfs04:TCtmp=${TCtmp:=/tmp/$TC$$}
nfs04-export TCID=$TC
nfs04-export TST_TOTAL=1
nfs04-
nfs04-# If CLEANUP is not set; set it to "ON"
nfs04-CLEANUP=${CLEANUP:="ON"}
--
nfs04-
nfs04-    VERSION=${VERSION:=2}
nfs04-    RHOST=${RHOST:=`hostname`}
nfs04-    FILESIZE=${FILESIZE:=10}
nfs04-    SOCKET_TYPE=${SOCKET_TYPE:=udp}
nfs04:    TESTDIR=${TESTDIR:=/tmp/$TC$PID.testdir}
nfs04-    NFS_TYPE=${NFS_TYPE:=nfs}
nfs04-    LOOPS=${LOOPS:=1}
nfs04-    export TST_COUNT=$LOOPS
nfs04-
nfs04-    echo ""
--
nfs04-#=============================================================================
nfs04-do_test()
nfs04-{
nfs04-$trace_logic
nfs04-  loopcount=0
nfs04:  nfs04_create_file $FILESIZE /tmp/nfs04$PID.testfile >/dev/null
nfs04-  if [ $? != 0 ]; then
nfs04-	end_testcase "Could not create testfile"
nfs04-  fi
nfs04-  tst_resm TINFO "Test Started"
nfs04-  while [ $loopcount -lt $LOOPS ]
nfs04-    do
nfs04:	cp /tmp/nfs04$PID.testfile $TCtmp/nfs04$PID.testfile$loopcount	
nfs04:	cmp /tmp/nfs04$PID.testfile $TCtmp/nfs04$PID.testfile$loopcount
nfs04-	retval=$?
nfs04-	if [ "$retval" != 0 ]; then
nfs04-		end_testcase "Error in loop $loopcount: First cmp FAILED"
nfs04-	fi
nfs04:	cp $TCtmp/nfs04$PID.testfile$loopcount /tmp/nfs04$PID.testfile_compare	
nfs04:	cmp /tmp/nfs04$PID.testfile /tmp/nfs04$PID.testfile_compare
nfs04-	retval=$?
nfs04-	if [ "$retval" != 0 ]; then
nfs04-		end_testcase "Error in loop $loopcount: Second cmp FAILED"
nfs04-	fi
nfs04:	rm -f /tmp/nfs04$PID.testfile_compare
nfs04-	loopcount=$(( $loopcount + 1 ))
nfs04-	tst_resm TINFO "Completed Loop $loopcount"
nfs04-    done
nfs04-}
nfs04-
--
nfs04-	sleep 2
nfs04-        umount $TCtmp || tst_resm TBROK "Cannot umount $TCtmp"
nfs04-	rm -rf $TCtmp || tst_resm TBROK "Cannot remove $TCtmp"
nfs04-        rsh -n $RHOST "/usr/sbin/exportfs -u *:$TESTDIR"
nfs04-		 rsh -n $RHOST "rm -rf $TESTDIR"
nfs04:	rm -f /tmp/nfs04$PID.testfile*
nfs04-    fi
nfs04-
nfs04-    [ $# = 0 ] && { tst_resm TPASS "Test Successful"; exit 0; }
nfs04-    tst_resm TFAIL "Test Failed: $@"
nfs04-    exit 1
test_1_to_1_threads matches
test_sctp_sendrecvmsg_v6 matches
--
fsx.sh-   
fsx.sh-    VERSION=${VERSION:=2}
fsx.sh-    RHOST=${RHOST:=`hostname`}
fsx.sh-    ITERATIONS=${ITERATIONS:=50000}
fsx.sh-    SOCKET_TYPE=${SOCKET_TYPE:=udp}
fsx.sh:    TESTDIR=${TESTDIR:=/tmp/$TC$PID.testdir}
fsx.sh-    NFS_TYPE=${NFS_TYPE:=nfs}
fsx.sh-
fsx.sh-    echo ""
fsx.sh-    echo "Test Options:"
fsx.sh-    echo " VERSION: $VERSION"
test_getname_v6 matches
test_fragments matches
ns-icmp_redirector matches
test_1_to_1_accept_close matches
test_1_to_1_rtoinfo matches
locktests matches
test_tcp_style_v6 matches
test_getname matches
ns-icmpv4_sender matches
nfs_fsstress matches
ns-mcast_receiver matches
grep -r /tmp/ -A5 -B5 usr/lib/debian-test/tests/linux/ 2>/dev/null | cut -d/ -f8-
rdist01-PATH=$PATH:$LTPTOOLS
rdist01-RHOST=${RHOST:-`hostname`}
rdist01-USER_LIST=${USER_LIST:-'root'}
rdist01-TCbin=${TCbin:-`pwd`}
rdist01-TCdat=${TCdat:-$TCbin}
rdist01:TCtmp=${TCtmp:-/tmp/rdist$$}
rdist01-FILES=${FILES:-'bin.sm bin.med bin.lg bin.jmb file.dir/bin.sm file.dir/bin.med file.dir/bin.jmb'}
rdist01-SLEEPTIME=${SLEEPTIME:-10}
rdist01-CLEANUP=${CLEANUP:-ON}
rdist01-
rdist01-
--
nfsstress-#-----------------------------------------------------------------------
nfsstress-TC=${TC:=nfsstress}
nfsstress-TCbin=${TCbin:=`pwd`}
nfsstress-TCdat=${TCdat:=$TCbin}
nfsstress-TCsrc=${TCsrc:=$TCbin}
nfsstress:TCtmp=${TCtmp:=/tmp/$TC$$}
nfsstress-TCdump=${TCdump:=$TCbin}
nfsstress-RHOST=${RHOST:=`hostname|awk {'print $1'}`}
nfsstress-
nfsstress-# Setting the NFS to version 2 with UDP by default
nfsstress-PID=$$
nfsstress-VERSION=${VERSION:=2}
nfsstress-SOCKET_TYPE=${SOCKET_TYPE:=udp}
nfsstress:TESTDIR=${TESTDIR:=/tmp/$TC$PID.testdir}
nfsstress-NFS_TYPE=${NFS_TYPE:=nfs}
nfsstress-
nfsstress-# If CLEANUP is not set; set it to "ON"
nfsstress-CLEANUP=${CLEANUP:="ON"}
nfsstress-
--
nfs01-#-----------------------------------------------------------------------
nfs01-TC=${TC:=nfs01}
nfs01-TCbin=${TCbin:=`pwd`}
nfs01-TCdat=${TCdat:=$TCbin}
nfs01-TCsrc=${TCsrc:=$TCbin}
nfs01:TCtmp=${TCtmp:=/tmp/$TC$$}
nfs01-TCdump=${TCdump:=$TCbin}
nfs01-
nfs01-# If CLEANUP is not set; set it to "ON"
nfs01-CLEANUP=${CLEANUP:="ON"}
nfs01-
--
nfs01-
nfs01-    VERSION=${VERSION:=2}
nfs01-    RHOST=${RHOST:=`hostname`}
nfs01-    NFILES=${NFILES:=1000}
nfs01-    SOCKET_TYPE=${SOCKET_TYPE:=udp}
nfs01:    TESTDIR=${TESTDIR:=/tmp/$TC$PID.testdir}
nfs01-    NFS_TYPE=${NFS_TYPE:=nfs}
nfs01-
nfs01-    echo ""
nfs01-    echo "Test Options:"
nfs01-    echo " VERSION: $VERSION"
--
echo01-
echo01-TC=sine
echo01-RHOST=${RHOST:-`hostname`}
echo01-TCbin=${TCbin:-`pwd`}
echo01-TCsrc=${TCsrc:-$TCbin}
echo01:TCtmp=${TCtmp:-/tmp/echo$$}
echo01-CLEANUP=${CLEANUP:-ON}
echo01-CREATFILE=createfile
echo01-ECHOES=echoes
echo01-
echo01-EXECUTABLES=${EXECUTABLES:-"$CREATFILE $ECHOES"}
--
sendfile01-TC=sendfile01
sendfile01-RHOST=${RHOST:-`hostname`}
sendfile01-TCbin=${TCbin:-`pwd`}
sendfile01-TCsrc=${TCsrc:-$TCbin}
sendfile01-TCdat=${TCdat:-$TCsrc/datafiles}
sendfile01:TCtmp=${TCtmp:-/tmp/$TC$$}
sendfile01-CLEANUP=${CLEANUP:-ON}
sendfile01-EXECUTABLES="testsf_c"
sendfile01-REMOTE_EXEC="testsf_s"
sendfile01-LTPROOT=${LTPROOT:-../../../..}
sendfile01-FILES=${FILES:-"ascii.sm ascii.med ascii.lg ascii.jmb"}
asapi_01 matches
--
rcp01-$trace_logic
rcp01-
rcp01-PATH=$PATH:$LTPTOOLS
rcp01-TC=rcp
rcp01-TCbin=${TCbin:-`pwd`}
rcp01:TCtmp=${TCtmp:-/tmp/$TC$$}
rcp01-TCdat=${TCdat:-$TCbin/datafiles}
rcp01-LHOST=`hostname`
rcp01-RHOST=${RHOST:-$LHOST}
rcp01-SLEEPTIME=${SLEEPTIME:-0}
rcp01-FILES=${FILES:-"bin.sm bin.med bin.lg bin.jmb"}
--
xinetd_tests.sh-    trap "cleanup" 0
xinetd_tests.sh-
xinetd_tests.sh-    # create the temporary directory used by this testcase
xinetd_tests.sh-    if [ -z $TMP ]
xinetd_tests.sh-    then
xinetd_tests.sh:        LTPTMP=/tmp/tst_xinetd.$$
xinetd_tests.sh-    else
xinetd_tests.sh-        LTPTMP=$TMP/tst_xinetd.$$
xinetd_tests.sh-    fi
xinetd_tests.sh-
xinetd_tests.sh-    mkdir -p $LTPTMP > /dev/null 2>&1 || RC=$?
--
traceroute_tests.sh-    trap "cleanup" 0
traceroute_tests.sh-
traceroute_tests.sh-    # create the temporary directory used by this testcase
traceroute_tests.sh-    if [ -z $TMP ]
traceroute_tests.sh-    then
traceroute_tests.sh:        LTPTMP=/tmp/tst_traceroute.$$
traceroute_tests.sh-    else
traceroute_tests.sh-        LTPTMP=$TMP/tst_traceroute.$$
traceroute_tests.sh-    fi
traceroute_tests.sh-
traceroute_tests.sh-    mkdir -p $LTPTMP > /dev/null 2>&1 || RC=$?
--
tcpdump01-#trace_logic=${trace_logic:-"set -x"}
tcpdump01-$trace_logic
tcpdump01-
tcpdump01-PATH=$PATH:$LTPTOOLS
tcpdump01-TC=tcpdump
tcpdump01:TCtmp=${TCtmp:-/tmp/$TC$$}
tcpdump01-RHOST=${RHOST:-`hostname`}
tcpdump01-IP=`host ${RHOST}|awk '{print $4}'`
tcpdump01-IFNUMS=`netstat -i|wc -l`
tcpdump01-IFNUMS=$(( $IFNUMS - 2 ))
tcpdump01-IFNAME=${IFNAME:-$(netstat -i|awk '{print $1}'|tail -n${IFNUMS})}
nfs04_create_file matches
--
nfs03-#-----------------------------------------------------------------------
nfs03-TC=${TC:=nfs03}
nfs03-TCbin=${TCbin:=`pwd`}
nfs03-TCdat=${TCdat:=$TCbin}
nfs03-TCsrc=${TCsrc:=$TCbin}
nfs03:TCtmp=${TCtmp:=/tmp/$TC$$}
nfs03-TCdump=${TCdump:=$TCbin}
nfs03-RHOST=${RHOST:=`hostname | awk {'print $1'}`}
nfs03-
nfs03-PID=$$
nfs03-
nfs03-# Setting the NFS to version 2 by default
nfs03-VERSION=${VERSION:=2}
nfs03-SOCKET_TYPE=${SOCKET_TYPE:=udp}
nfs03:TESTDIR=${TESTDIR:=/tmp/$TC$PID.testdir}
nfs03-NFS_TYPE=${NFS_TYPE:=nfs}
nfs03-
nfs03-# If CLEANUP is not set; set it to "ON"
nfs03-CLEANUP=${CLEANUP:="ON"}
nfs03-
test_arch.o matches
asapi_05 matches
--
dhcpd_tests.sh-	export TCID="dhcpd  "		# this is the init function.
dhcpd_tests.sh-	export TST_COUNT=0			# init identifier,
dhcpd_tests.sh-
dhcpd_tests.sh-	if [ -z $TMP ]
dhcpd_tests.sh-	then
dhcpd_tests.sh:		LTPTMP=/tmp/tst_dhcpd.$$/
dhcpd_tests.sh-	else
dhcpd_tests.sh-		LTPTMP=$TMP/tst_dhcpd.$$/
dhcpd_tests.sh-	fi
dhcpd_tests.sh-
dhcpd_tests.sh-	# Initialize cleanup function.
--
nfsstat01-
nfsstat01-PID=$$
nfsstat01-
nfsstat01-TC=nfsstat01
nfsstat01-TCbin=${TCbin:=`pwd`}
nfsstat01:EXPORTDIR=${EXPORTDIR:=/tmp/$TC$PID}
nfsstat01-HOST=`hostname`
nfsstat01-CLEANUP=${CLEANUP:="ON"}
nfsstat01-VERSION=${VERSION:=2}
nfsstat01:TESTDIR=${TESTDIR:=/tmp/$TC$PID.testdir}
nfsstat01-NFS_TYPE=${NFS_TYPE:nfs}
nfsstat01-
nfsstat01-if [ "x$NFS_TYPE" != "xnfs4" ]; then
nfsstat01-    OPTS=${OPTS:="-o vers=$VERSION "}
nfsstat01-fi
asapi_03 matches
asapi_07 matches
--
nfs02-
nfs02-TC=nfs02
nfs02-TCbin=${TCbin:=`pwd`}
nfs02-TCdat=${TCdat:=$TCbin/datafiles}
nfs02-TCsrc=${TCsrc:=$TCbin}
nfs02:TCtmp=${TCtmp:=/tmp/$TC$$}
nfs02-
nfs02-PID=$$
nfs02-
nfs02-RHOST=${RHOST:=`hostname`}
nfs02-VERSION=${VERSION:=2}
nfs02-SOCKET_TYPE=${SOCKET_TYPE:=udp}
nfs02:TESTDIR=${TESTDIR:=/tmp/$TC$PID.testdir}
nfs02-CLEANUP=${CLEANUP:="ON"}
nfs02-NFS_TYPE=${NFS_TYPE:=nfs}
nfs02-
nfs02-#---------------------------------------------------------------------#
nfs02-# FUNCTION: do_setup
--
mc_cmds-#Uncomment line below for debug output.
mc_cmds-#trace_logic=${trace_logic:-"set -x"}
mc_cmds-$trace_logic
mc_cmds-
mc_cmds-TC=mc_cmds
mc_cmds:PING_OUT=/tmp/${TC}_out
mc_cmds-# Set the LTPROOT variable to the correct path
mc_cmds-# from the ltp/testcases/bin directory or the
mc_cmds-# /ltp/testcases/network/multicast/mc_cmds directory
mc_cmds-pwd | grep -q bin
mc_cmds-if [ $? -eq 0 ]; then
--
ftp01-PASSWD=${PASSWD:-.pasroot}
ftp01-
ftp01-PATH=$PATH:$LTPTOOLS
ftp01-TC=ftp
ftp01-TCbin=${TCbin:-`pwd`}
ftp01:TCtmp=${TCtmp:-/tmp/$TC$$}
ftp01-TCdat=${TCdat:-$TCbin/datafiles}
ftp01-SLEEPTIME=${SLEEPTIME:-0}
ftp01-ASCII_FILES=${ASCII_FILES:-"ascii.sm ascii.med ascii.lg ascii.jmb"}
ftp01-BIN_FILES=${BIN_FILES:-"bin.sm bin.med bin.lg bin.jmb"}
ftp01-
--
nfs_fsstress.sh-
nfs_fsstress.sh-#Convert to seconds
nfs_fsstress.sh-DURATION=$(( $DURATION * 60 * 60 ))
nfs_fsstress.sh-
nfs_fsstress.sh-echo "Setting up local mount points"
nfs_fsstress.sh:mkdir -p /tmp/udp/2/${HOSTNAME}1
nfs_fsstress.sh:mkdir -p /tmp/tcp/2/${HOSTNAME}2
nfs_fsstress.sh:mkdir -p /tmp/udp/3/${HOSTNAME}3
nfs_fsstress.sh:mkdir -p /tmp/tcp/3/${HOSTNAME}4
nfs_fsstress.sh-
nfs_fsstress.sh-echo "Mounting NFS filesystem"
nfs_fsstress.sh:mount -o "intr,soft,proto=udp,vers=2" $RHOST:$FILESYSTEM /tmp/udp/2/${HOSTNAME}1 >/dev/null 2>&1
nfs_fsstress.sh-if [ $? -ne 0 ];then
nfs_fsstress.sh-  echo "Error: mount using UDP & version 2 failed"
nfs_fsstress.sh-  exit 1 
nfs_fsstress.sh-fi
nfs_fsstress.sh:mount -o "intr,soft,proto=tcp,vers=2" $RHOST:$FILESYSTEM /tmp/tcp/2/${HOSTNAME}2 >/dev/null 2>&1
nfs_fsstress.sh-if [ $? -ne 0 ];then
nfs_fsstress.sh-  echo "Error: mount using TCP & version 2 failed"
nfs_fsstress.sh-  exit 1 
nfs_fsstress.sh-fi
nfs_fsstress.sh:mount -o "intr,soft,proto=udp,vers=3" $RHOST:$FILESYSTEM /tmp/udp/3/${HOSTNAME}3 >/dev/null 2>&1
nfs_fsstress.sh-if [ $? -ne 0 ];then
nfs_fsstress.sh-  echo "Error: mount using UDP & version 3 failed"
nfs_fsstress.sh-  exit 1 
nfs_fsstress.sh-fi
nfs_fsstress.sh:mount -o "intr,soft,proto=tcp,vers=3" $RHOST:$FILESYSTEM /tmp/tcp/3/${HOSTNAME}4 >/dev/null 2>&1
nfs_fsstress.sh-if [ $? -ne 0 ];then
nfs_fsstress.sh-  echo "Error: mount using TCP & version 3 failed"
nfs_fsstress.sh-  exit 1 
nfs_fsstress.sh-fi
nfs_fsstress.sh-
nfs_fsstress.sh-echo "Test set for $DURATION seconds. Starting test processes now."
nfs_fsstress.sh:./fsstress -l 0 -d /tmp/udp/2/${HOSTNAME}1 -n 1000 -p 50 -r > /tmp/nfs_fsstress.udp.2.log 2>&1 &
nfs_fsstress.sh:./fsstress -l 0 -d /tmp/udp/3/${HOSTNAME}2 -n 1000 -p 50 -r > /tmp/nfs_fsstress.udp.3.log 2>&1 &
nfs_fsstress.sh:./fsstress -l 0 -d /tmp/tcp/2/${HOSTNAME}3 -n 1000 -p 50 -r > /tmp/nfs_fsstress.tcp.2.log 2>&1 &
nfs_fsstress.sh:./fsstress -l 0 -d /tmp/tcp/3/${HOSTNAME}4 -n 1000 -p 50 -r > /tmp/nfs_fsstress.tcp.3.log 2>&1 &
nfs_fsstress.sh-
nfs_fsstress.sh-echo "Starting sar"
nfs_fsstress.sh:sar -o /tmp/nfs_fsstress.sardata 30 0 &
nfs_fsstress.sh-
nfs_fsstress.sh-echo "Testing in progress"
nfs_fsstress.sh-sleep $DURATION
nfs_fsstress.sh-echo "Testing done. Killing processes."
nfs_fsstress.sh-killall -9 sadc 
--
nfs_fsstress.sh-  TESTING=$?
nfs_fsstress.sh-done 
nfs_fsstress.sh-echo " "
nfs_fsstress.sh-echo "All processes killed."
nfs_fsstress.sh-echo "Unmounting NFS filesystem"
nfs_fsstress.sh:umount /tmp/udp/2/${HOSTNAME}1
nfs_fsstress.sh:umount /tmp/tcp/2/${HOSTNAME}2
nfs_fsstress.sh:umount /tmp/udp/3/${HOSTNAME}3
nfs_fsstress.sh:umount /tmp/tcp/3/${HOSTNAME}4
nfs_fsstress.sh-echo " Testing Complete: PASS"
nfs_fsstress.sh-
nfs_fsstress.sh-
--
ftp_setup_vsftp_conf-#!/bin/sh
ftp_setup_vsftp_conf-
ftp_setup_vsftp_conf:grep -v "local_enable" /etc/vsftpd.conf > /tmp/vsftpd.conf
ftp_setup_vsftp_conf:mv -f /tmp/vsftpd.conf /etc/vsftpd.conf
ftp_setup_vsftp_conf-echo "local_enable=YES" >> /etc/vsftpd.conf
--
echo601-
echo601-TC=sine
echo601-RHOST=${RHOST:-`hostname`}
echo601-TCbin=${TCbin:-`pwd`}
echo601-TCsrc=${TCsrc:-$TCbin}
echo601:TCtmp=${TCtmp:-/tmp/echo6$$}
echo601-CLEANUP=${CLEANUP:-ON}
echo601-CREATFILE=createfile
echo601-ECHOES=echoes6
echo601-
echo601-EXECUTABLES=${EXECUTABLES:-"$CREATFILE $ECHOES"}
--
rwho01-
rwho01-PATH=$PATH:$LTPTOOLS
rwho01-LHOST=`hostname | cut -f1 -d.`
rwho01-RHOST=${RHOST:-$LHOST}
rwho01-TC=rwho
rwho01:TCtmp=${TCtmp:-/tmp/$TC}
rwho01-CLEANUP=${CLEANUP:-ON}
rwho01-
rwho01-PID=0
rwho01-RHOST_PID=0
rwho01-SLEEPTIME=${SLEEPTIME:-20}
--
ip_tests.sh-	export TCID="ip_tests  "		# this is the init function.
ip_tests.sh-	export TST_COUNT=0			# init identifier,
ip_tests.sh-
ip_tests.sh-	if [ -z $TMP ]
ip_tests.sh-	then
ip_tests.sh:		LTPTMP=/tmp/tst_ip.$$/
ip_tests.sh-	else
ip_tests.sh-		LTPTMP=$TMP/tst_ip.$$/
ip_tests.sh-	fi
ip_tests.sh-
ip_tests.sh-	# Initialize cleanup function.
--
mc_opts-if [ -z $LTPBIN ]; then
mc_opts-  PATH=../../../bin/:./:$PATH
mc_opts-fi
mc_opts-TC=mc_opts
mc_opts-TCsrc=${TCsrc:-`pwd`}
mc_opts:TCtmp=${TCtmp:-/tmp/$TC$$}
mc_opts-CLEANUP=${CLEANUP:-ON}
mc_opts-EXECUTABLES=${EXECUTABLES:-"opts opts_e"}
mc_opts-NUMLOOPS=${NUMLOOPS:-10}
mc_opts-IPADDR=${IPADDR:-$(gethost `hostname`| grep address |awk '{ print $2 }')}
mc_opts-
--
mc_member-#trace_logic=${trace_logic:-"set -x"}
mc_member-$trace_logic
mc_member-
mc_member-TC=mc_member
mc_member-TCsrc=${TCsrc:-`pwd`}
mc_member:TCtmp=${TCtmp:-/tmp/$TC$$}
mc_member-CLEANUP=${CLEANUP:-ON}
mc_member-
mc_member-LTPROOT=${LTPROOT:-"../../../../"}
mc_member-EXECUTABLES=${EXECUTABLES:-"member"}
mc_member-NUMLOOPS=${NUMLOOPS:-2}
--
perf_lan-
perf_lan-TC=slan
perf_lan-RHOST=${RHOST:-`hostname`}
perf_lan-TCbin=${TCbin:-`pwd`}
perf_lan-TCsrc=${TCsrc:-$TCbin}
perf_lan:TCtmp=${TCtmp:-/tmp/perf_lan$$}
perf_lan-CLEANUP=${CLEANUP:-ON}
perf_lan-
perf_lan-PACKETSIZE=${PACKETSIZE:-512}
perf_lan-NUMPACKETS=${NUMPACKETS:-1}
perf_lan-NUMLOOPS=${NUMLOOPS:-10}
--
tcpdump601-#Uncomment line below for debug output.
tcpdump601-#trace_logic=${trace_logic:-"set -x"}
tcpdump601-$trace_logic
tcpdump601-
tcpdump601-TC=tcpdump
tcpdump601:TCtmp=${TCtmp:-/tmp/$TC$$}
tcpdump601-RHOST=${RHOST:-`hostname`}
tcpdump601-NUMLOOPS=${NUMLOOPS:-20}
tcpdump601-OUTFILE=$TCtmp/tcpdump_out
tcpdump601-
tcpdump601-#******************************************************************************
--
mc_commo-$trace_logic
mc_commo-
mc_commo-
mc_commo-TC=mc_commo
mc_commo-TCsrc=${TCsrc:-`pwd`}
mc_commo:TCtmp=${TCtmp:-"/tmp/mc_commo.$$"}
mc_commo-CLEANUP=${CLEANUP:-ON}
mc_commo-EXECUTABLES="mc_recv"
mc_commo-REMOTE_EXEC="mc_send"
mc_commo-LTPROOT=${LTPROOT:-../../../..}
mc_commo-TTL=10
--
nfs04-# Initialize local variables
nfs04-#-----------------------------------------------------------------------
nfs04-PATH=$PATH:$LTPTOOLS
nfs04-TC=${TC:=nfs04}
nfs04-TCbin=${TCbin:=`pwd`}
nfs04:TCtmp=${TCtmp:=/tmp/$TC$$}
nfs04-export TCID=$TC
nfs04-export TST_TOTAL=1
nfs04-
nfs04-# If CLEANUP is not set; set it to "ON"
nfs04-CLEANUP=${CLEANUP:="ON"}
--
nfs04-
nfs04-    VERSION=${VERSION:=2}
nfs04-    RHOST=${RHOST:=`hostname`}
nfs04-    FILESIZE=${FILESIZE:=10}
nfs04-    SOCKET_TYPE=${SOCKET_TYPE:=udp}
nfs04:    TESTDIR=${TESTDIR:=/tmp/$TC$PID.testdir}
nfs04-    NFS_TYPE=${NFS_TYPE:=nfs}
nfs04-    LOOPS=${LOOPS:=1}
nfs04-    export TST_COUNT=$LOOPS
nfs04-
nfs04-    echo ""
--
nfs04-#=============================================================================
nfs04-do_test()
nfs04-{
nfs04-$trace_logic
nfs04-  loopcount=0
nfs04:  nfs04_create_file $FILESIZE /tmp/nfs04$PID.testfile >/dev/null
nfs04-  if [ $? != 0 ]; then
nfs04-	end_testcase "Could not create testfile"
nfs04-  fi
nfs04-  tst_resm TINFO "Test Started"
nfs04-  while [ $loopcount -lt $LOOPS ]
nfs04-    do
nfs04:	cp /tmp/nfs04$PID.testfile $TCtmp/nfs04$PID.testfile$loopcount	
nfs04:	cmp /tmp/nfs04$PID.testfile $TCtmp/nfs04$PID.testfile$loopcount
nfs04-	retval=$?
nfs04-	if [ "$retval" != 0 ]; then
nfs04-		end_testcase "Error in loop $loopcount: First cmp FAILED"
nfs04-	fi
nfs04:	cp $TCtmp/nfs04$PID.testfile$loopcount /tmp/nfs04$PID.testfile_compare	
nfs04:	cmp /tmp/nfs04$PID.testfile /tmp/nfs04$PID.testfile_compare
nfs04-	retval=$?
nfs04-	if [ "$retval" != 0 ]; then
nfs04-		end_testcase "Error in loop $loopcount: Second cmp FAILED"
nfs04-	fi
nfs04:	rm -f /tmp/nfs04$PID.testfile_compare
nfs04-	loopcount=$(( $loopcount + 1 ))
nfs04-	tst_resm TINFO "Completed Loop $loopcount"
nfs04-    done
nfs04-}
nfs04-
--
nfs04-	sleep 2
nfs04-        umount $TCtmp || tst_resm TBROK "Cannot umount $TCtmp"
nfs04-	rm -rf $TCtmp || tst_resm TBROK "Cannot remove $TCtmp"
nfs04-        rsh -n $RHOST "/usr/sbin/exportfs -u *:$TESTDIR"
nfs04-		 rsh -n $RHOST "rm -rf $TESTDIR"
nfs04:	rm -f /tmp/nfs04$PID.testfile*
nfs04-    fi
nfs04-
nfs04-    [ $# = 0 ] && { tst_resm TPASS "Test Successful"; exit 0; }
nfs04-    tst_resm TFAIL "Test Failed: $@"
nfs04-    exit 1
--
nfslock01-
nfslock01-$trace_logic
nfslock01-
nfslock01-TC=nfslock
nfslock01-TCbin=${TCbin:=`pwd`}
nfslock01:TCtmp=${TCtmp:=/tmp/$TC$$}
nfslock01-TCsrc=${TCsrc:=$TCbin}
nfslock01-TClog=${TClog:=$TCtmp}
nfslock01-
nfslock01-mkdir $TCtmp >/dev/null 2>&1
nfslock01-
--
sendfile601-TC=sendfile6
sendfile601-RHOST=${RHOST:-`hostname`}
sendfile601-TCbin=${TCbin:-`pwd`}
sendfile601-TCsrc=${TCsrc:-$TCbin}
sendfile601-TCdat=${TCdat:-$TCsrc/datafiles}
sendfile601:TCtmp=${TCtmp:-/tmp/$TC$$}
sendfile601-CLEANUP=${CLEANUP:-ON}
sendfile601-EXECUTABLES="testsf_c6"
sendfile601-REMOTE_EXEC="testsf_s6"
sendfile601-
sendfile601-FILES=${FILES:-"ascii.sm ascii.med ascii.lg ascii.jmb"}
--
rpc01-this_file=${0##*/}
rpc01-TC=${TC:=rpc01}
rpc01-TCbin=${TCbin:=`pwd`}
rpc01-TCdat=${TCdat:=$TCbin/datafiles}
rpc01-TCsrc=${TCsrc:=$TCbin}
rpc01:TCtmp=${TCtmp:=/tmp/rpc$$}
rpc01-NUMLOOPS=${NUMLOOPS:=3}
rpc01-RHOST=${RHOST:=`hostname`}
rpc01-CLEANUP=${CLEANUP:="ON"}
rpc01-DATAFILES=${DATAFILES:="file.1 file.2"}
rpc01-
asapi_02 matches

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: