Remove some userspace related tests
v2 cover Remove some userspace related tests
Hi,
Changes v1->v2:
change in 3rd patch:
* at: removed at_allow01, at_deny01, Makefiles
* Removed also su and acls tests.
Petr Vorel (3):
testscripts: Remove EAL2 testsuite script
net: Remove network_commands (ftp, ssh)
Remove admin_tools test
runtest/admin_tools | 9 - runtest/commands | 1 - runtest/network_commands | 8 - scenario_groups/default | 1 - scenario_groups/network | 1 - testcases/commands/.gitignore | 1 - testcases/commands/at/Makefile | 31 -- testcases/commands/at/at_allow01 | 188 ------- testcases/commands/at/at_deny01 | 195 ------- testcases/commands/cron/00_Descriptions.txt | 4 - testcases/commands/cron/Makefile | 29 -- testcases/commands/cron/README.tests | 25 - testcases/commands/cron/cron02 | 80 --- testcases/commands/cron/cron03 | 83 --- testcases/commands/cron/cron_allow01 | 202 -------- testcases/commands/cron/cron_deny01 | 192 ------- testcases/commands/cron/cron_dirs_check.c | 44 -- testcases/commands/cron/cron_dirs_checks01 | 46 -- .../commands/cron/cron_illegal_cron_lines | 39 -- testcases/commands/cron/cron_neg_tests.sh | 141 ----- testcases/commands/cron/cron_pos_tests.sh | 118 ----- testcases/commands/cron/cron_tests.sh | 276 ---------- testcases/commands/su/Makefile | 31 -- testcases/commands/su/su01 | 181 ------- testcases/commands/su/su01_s1 | 486 ------------------ testcases/commands/su/su_set_passwd | 14 - testcases/kernel/fs/acls/.gitignore | 2 - testcases/kernel/fs/acls/Makefile | 40 -- testcases/kernel/fs/acls/acl_file_test.c | 73 --- testcases/kernel/fs/acls/acl_link_test.c | 56 -- testcases/kernel/fs/acls/acl_test01 | 186 ------- testcases/network/tcp_cmds/ftp/ftp02 | 98 ---- testcases/network/tcp_cmds/ftp/ftp03 | 106 ---- testcases/network/tcp_cmds/ftp/ftp04 | 81 --- testcases/network/tcp_cmds/ftp/ftp05 | 110 ---- testcases/network/tcp_cmds/ssh/Makefile | 31 -- testcases/network/tcp_cmds/ssh/ssh01 | 57 -- testcases/network/tcp_cmds/ssh/ssh01_s1 | 72 --- testcases/network/tcp_cmds/ssh/ssh02 | 57 -- testcases/network/tcp_cmds/ssh/ssh02_s1 | 73 --- testcases/network/tcp_cmds/ssh/ssh03 | 52 -- testcases/network/tcp_cmds/ssh/ssh03_s1 | 67 --- testcases/network/tcp_cmds/ssh/ssh_setup | 54 -- testscripts/runEALtests.sh | 235 --------- 44 files changed, 3876 deletions(-) delete mode 100644 runtest/admin_tools delete mode 100644 runtest/network_commands delete mode 100644 testcases/commands/at/Makefile delete mode 100755 testcases/commands/at/at_allow01 delete mode 100755 testcases/commands/at/at_deny01 delete mode 100644 testcases/commands/cron/00_Descriptions.txt delete mode 100644 testcases/commands/cron/Makefile delete mode 100644 testcases/commands/cron/README.tests delete mode 100755 testcases/commands/cron/cron02 delete mode 100755 testcases/commands/cron/cron03 delete mode 100755 testcases/commands/cron/cron_allow01 delete mode 100755 testcases/commands/cron/cron_deny01 delete mode 100644 testcases/commands/cron/cron_dirs_check.c delete mode 100755 testcases/commands/cron/cron_dirs_checks01 delete mode 100644 testcases/commands/cron/cron_illegal_cron_lines delete mode 100755 testcases/commands/cron/cron_neg_tests.sh delete mode 100755 testcases/commands/cron/cron_pos_tests.sh delete mode 100644 testcases/commands/cron/cron_tests.sh delete mode 100644 testcases/commands/su/Makefile delete mode 100755 testcases/commands/su/su01 delete mode 100755 testcases/commands/su/su01_s1 delete mode 100755 testcases/commands/su/su_set_passwd delete mode 100644 testcases/kernel/fs/acls/.gitignore delete mode 100644 testcases/kernel/fs/acls/Makefile delete mode 100644 testcases/kernel/fs/acls/acl_file_test.c delete mode 100644 testcases/kernel/fs/acls/acl_link_test.c delete mode 100755 testcases/kernel/fs/acls/acl_test01 delete mode 100755 testcases/network/tcp_cmds/ftp/ftp02 delete mode 100755 testcases/network/tcp_cmds/ftp/ftp03 delete mode 100755 testcases/network/tcp_cmds/ftp/ftp04 delete mode 100755 testcases/network/tcp_cmds/ftp/ftp05 delete mode 100644 testcases/network/tcp_cmds/ssh/Makefile delete mode 100755 testcases/network/tcp_cmds/ssh/ssh01 delete mode 100755 testcases/network/tcp_cmds/ssh/ssh01_s1 delete mode 100755 testcases/network/tcp_cmds/ssh/ssh02 delete mode 100755 testcases/network/tcp_cmds/ssh/ssh02_s1 delete mode 100755 testcases/network/tcp_cmds/ssh/ssh03 delete mode 100755 testcases/network/tcp_cmds/ssh/ssh03_s1 delete mode 100755 testcases/network/tcp_cmds/ssh/ssh_setup delete mode 100755 testscripts/runEALtests.sh
Signature · 1 line
2.19.0
RFC PATCH v2 1/3 testscripts: Remove EAL2 testsuite script
as it's not maintained any more.
---
Changes v1->v2:
No change.
--- testscripts/runEALtests.sh | 235 ------------------------------------- 1 file changed, 235 deletions(-) delete mode 100755 testscripts/runEALtests.sh
testscripts/runEALtests.sh deleted +0 -235
@@ -1,235 +0,0 @@ -#!/bin/bash - - -# -# 07/10/02 - Jeff Martin - [email protected]: Added instance and -# time command line options -# -# 12/15/02 - Manoj Iyer - [email protected]: Added options to run -# LTP under CPU, IO and MM load. -# -# 01/26/03 - Manoj Iyer - [email protected]: Added -f option; Execute -# user defined set of testcases. -# -# 01/27/03 - Manoj Iyer - [email protected]: Enabled formatted printing -# of logfiles. -# -# 01/28/03 - Manoj Iyer - [email protected]: added option to enable -# formatted printing of logfiles. -# -# 01/29/03 - Manoj Iyer - [email protected]: merged networktests.sh with -# this script, added the -n option to run these -# tests. Also, added -h option to print help messages. -# -# 01/29/03 - Manoj Iyer - [email protected]: -# added code to cause pan to print less verbose -# output. -# 02/01/03 - Manoj Iyer - [email protected]: Removed variables -# initialization of RHOST and PASSWD. -# -# 02/05/03 - Robbie Williamson - Added configurability to the optional load -# generator sections. Also added network traffic -# option. -# - -cd `dirname $0` -export LTPROOT=${PWD} -export TMPBASE="/tmp" -export TMP="${TMPBASE}/runalltests-$$" -export PATH="${PATH}:${LTPROOT}/../testcases/bin" -cmdfile="" -pretty_prt=" " -alt_dir=0 -run_netest=0 -quiet_mode=" " -NetPipe=0 -GenLoad=0 - -usage() -{ - cat <<-END >&2 - usage: ./${0##*/} -c [-d tmpdir] [-f cmdfile ] [-i # (in Mb)] [ -l logfile ] - [ -m # (in Mb)] -N -n -q [ -r ltproot ] [ -t duration ] [ -x instances ] - - -c Run LTP under additional background CPU load. - -d tmpdir Directory where temporary files will be created. - -f cmdfile Execute user defined list of testcases. - -h Help. Prints all available options. - -i # (in Mb) Run LTP with a _minimum_ IO load of # megabytes in background. - -l logfile Log results of test in a logfile. - -m # (in Mb) Run LTP with a _minimum_ memory load of # megabytes in background. - -N Run all the networking tests. - (export RHOST = remote hostname) - (export PASSWD = passwd of remote host) - -n Run LTP with network traffic in background. - -p Human readable format logfiles. - -q Print less verbose output to screen. - -r ltproot Fully qualified path where testsuite is installed. - -t duration Execute the testsuite for given duration in hours. - -x instances Run multiple instances of this testsuite. - - example: ./${0##*/} -i 1024 -m 128 -p -q -l /tmp/resultlog.$$ -d ${PWD} - END -exit -} - -mkdir -p ${TMP} - -cd ${TMP} -if [ $? -ne 0 ]; then - echo "could not cd ${TMP} ... exiting" - exit -fi - -while getopts cd:f:hi:l:m:Npqr:t:x arg -do case $arg in - c) - $LTPROOT/../testcases/bin/genload --cpu 1 >/dev/null 2>&1 & - GenLoad=1 ;; - - d) # append $$ to TMP, as it is recursively - # removed at end of script. - TMPBASE=$OPTARG;; - f) # Execute user defined set of testcases. - cmdfile=$OPTARG;; - - h) usage;; - - i) - bytesize=$(($OPTARG * 1024 * 1024)) - $LTPROOT/../testcases/bin/genload --io 1 >/dev/null 2>&1 & - $LTPROOT/../testcases/bin/genload --hdd 0 --hdd-bytes $bytesize \ - >/dev/null 2>&1 & - GenLoad=1 ;; - - l) - if [ ${OPTARG:0:1} != "/" ] - then - if [ -d $LTPROOT/results ] - then - logfile="-l $LTPROOT/results/$OPTARG" - else - mkdir -p $LTPROOT/results - if [ $? -ne 0 ] - then - echo "ERROR: failed to create $LTPROOT/results" - exit 1 - fi - logfile="-l $LTPROOT/results/$OPTARG" - fi - alt_dir=1 - else - logfile="-l $OPTARG" - fi ;; - - m) - memsize=$(($OPTARG * 1024 * 1024)) - $LTPROOT/../testcases/bin/genload --vm 0 --vm-bytes $memsize\ - >/dev/null 2>&1 & - GenLoad=1;; - - N) run_netest=1;; - - p) pretty_prt=" -p ";; - - q) quiet_mode=" -q ";; - - r) LTPROOT=$OPTARG;; - - t) # In case you want to specify the time - # to run from the command line - # (2m = two minutes, 2h = two hours, etc) - duration="-t $OPTARG" ;; - - x) # number of ltp's to run - instances="-x $OPTARG";; - - \?) usage;; - esac -done - -if [ -z $PASSWD ] -then - echo " " - echo "ERROR:" - echo "Please export enviroment variable PASSWD" - echo "INFO: export PASSWD = 'root's password'" - exit 1 -fi - -#if [ $run_netest -eq 1 ] -#then -# if [[ -z $RHOST || -z $PASSWD ]] -# then -# echo " " -# echo " " -# echo "ERROR: Initializing networking tests." -# echo "INFO: Please export RHOST = 'name of the remote host machine'" -# echo "INFO: Please export PASSWD = 'passwd of the remote host machine'" -# echo "INFO: before running the networking tests." -# echo " " -# echo " " -# echo " " -# usage -# fi -#fi - -if [ -n "$instances" ]; then - instances="$instances -O ${TMP}" -fi - - -# If user does not provide a command file select a default set of testcases -# to execute. -if [ -z $cmdfile ] -then - cat ${LTPROOT}/../runtest/admin_tools > ${TMP}/alltests -else - cat $cmdfile > ${TMP}/alltests -fi - -if [ $run_netest -eq 1 ] -then - cat ${LTPROOT}/../runtest/network_commands >> ${TMP}/alltests -fi - -# The fsx-linux tests use the SCRATCHDEV environment variable as a location -# that can be reformatted and run on. Set SCRATCHDEV if you want to run -# these tests. As a safeguard, this is disabled. -unset SCRATCHDEV -if [ -n "$SCRATCHDEV" ]; then - cat ${LTPROOT}/../runtest/fsx >> ${TMP}/alltests -fi - -# display versions of installed software -${LTPROOT}/../ver_linux - -${LTPROOT}/../bin/ltp-pan $quiet_mode -e -S $instances $duration -a $$ -n $$ $pretty_prt -f ${TMP}/alltests $logfile - -if [ $? -eq 0 ]; then - echo ltp-pan reported PASS -else - echo ltp-pan reported FAIL -fi - -if [ $GenLoad -eq 1 ] -then - killall -9 genload >/dev/null 2>&1 -fi - -if [ $NetPipe -eq 1 ] -then - killall -9 NPtcp -fi - -if [ $alt_dir -eq 1 ] -then - echo " " - echo "###############################################################" - echo " " - echo " result log is in the $LTPROOT/results directory" - echo " " - echo "###############################################################" - echo " " -fi -rm -rf ${TMP}
Signature · 1 line
2.19.0
RFC PATCH v2 2/3 net: Remove network_commands (ftp, ssh)
In reply to Petr Vorelnetwork_commands contains ftp and ssh login tests as a part of EAL2 testsuite. Removing them as they don't really fit into "kernel testing", it'd be better to have them in some "LTP userspace" project.
---
Changes v1->v2:
No change.
--- runtest/network_commands | 8 -- scenario_groups/network | 1 - testcases/network/tcp_cmds/ftp/ftp02 | 98 -------------------- testcases/network/tcp_cmds/ftp/ftp03 | 106 ---------------------- testcases/network/tcp_cmds/ftp/ftp04 | 81 ----------------- testcases/network/tcp_cmds/ftp/ftp05 | 110 ----------------------- testcases/network/tcp_cmds/ssh/Makefile | 31 ------- testcases/network/tcp_cmds/ssh/ssh01 | 57 ------------ testcases/network/tcp_cmds/ssh/ssh01_s1 | 72 --------------- testcases/network/tcp_cmds/ssh/ssh02 | 57 ------------ testcases/network/tcp_cmds/ssh/ssh02_s1 | 73 --------------- testcases/network/tcp_cmds/ssh/ssh03 | 52 ----------- testcases/network/tcp_cmds/ssh/ssh03_s1 | 67 -------------- testcases/network/tcp_cmds/ssh/ssh_setup | 54 ----------- 14 files changed, 867 deletions(-) delete mode 100644 runtest/network_commands delete mode 100755 testcases/network/tcp_cmds/ftp/ftp02 delete mode 100755 testcases/network/tcp_cmds/ftp/ftp03 delete mode 100755 testcases/network/tcp_cmds/ftp/ftp04 delete mode 100755 testcases/network/tcp_cmds/ftp/ftp05 delete mode 100644 testcases/network/tcp_cmds/ssh/Makefile delete mode 100755 testcases/network/tcp_cmds/ssh/ssh01 delete mode 100755 testcases/network/tcp_cmds/ssh/ssh01_s1 delete mode 100755 testcases/network/tcp_cmds/ssh/ssh02 delete mode 100755 testcases/network/tcp_cmds/ssh/ssh02_s1 delete mode 100755 testcases/network/tcp_cmds/ssh/ssh03 delete mode 100755 testcases/network/tcp_cmds/ssh/ssh03_s1 delete mode 100755 testcases/network/tcp_cmds/ssh/ssh_setup
runtest/network_commands deleted +0 -8
@@ -1,8 +0,0 @@ -ftp02 ftp02 -ftp03 ftp03 -ftp04 ftp04 -ftp05 ftp05 - -ssh01 ssh01 -ssh02 ssh02 -ssh03 ssh03
scenario_groups/network +0 -1
@@ -9,7 +9,6 @@ net.nfs net.rpc_tests net.tirpc_tests net.sctp -network_commands net_stress.appl net_stress.broken_ip net_stress.interface
testcases/network/tcp_cmds/ftp/ftp02 deleted +0 -98
98 lines not on this page · raw message
testcases/network/tcp_cmds/ftp/ftp03 deleted +0 -106
106 lines not on this page · raw message
testcases/network/tcp_cmds/ftp/ftp04 deleted +0 -81
81 lines not on this page · raw message
testcases/network/tcp_cmds/ftp/ftp05 deleted +0 -110
110 lines not on this page · raw message
testcases/network/tcp_cmds/ssh/Makefile deleted +0 -31
@@ -1,31 +0,0 @@ -# -# network/tcp_cmds/ssh testcases Makefile. -# -# Copyright (C) 2009, 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. -# -# Ngie Cooper, July 2009 -# - -top_srcdir ?= ../../../.. - -include $(top_srcdir)/include/mk/env_pre.mk - -INSTALL_TARGETS := ssh* - -MAKE_TARGETS := - -include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/network/tcp_cmds/ssh/ssh01 deleted +0 -57
57 lines not on this page · raw message
testcases/network/tcp_cmds/ssh/ssh01_s1 deleted +0 -72
72 lines not on this page · raw message
testcases/network/tcp_cmds/ssh/ssh02 deleted +0 -57
57 lines not on this page · raw message
testcases/network/tcp_cmds/ssh/ssh02_s1 deleted +0 -73
73 lines not on this page · raw message
testcases/network/tcp_cmds/ssh/ssh03 deleted +0 -52
52 lines not on this page · raw message
testcases/network/tcp_cmds/ssh/ssh03_s1 deleted +0 -67
67 lines not on this page · raw message
testcases/network/tcp_cmds/ssh/ssh_setup deleted +0 -54
54 lines not on this page · raw message
Signature · 1 line
2.19.0
RFC PATCH v2 3/3 Remove admin_tools test
In reply to Petr VorelRemoving cron, at, su related tests as they don't really fit into "kernel testing", it'd be better to have them in some "LTP userspace" project.
ACL are considered as "kernel tests", but it would be easier to write something from scratch, thus remove them as well.
---
Changes v1->v2:
* at: removed at_allow01, at_deny01, Makefiles
* Removed also su and acls tests.
--- runtest/admin_tools | 9 - runtest/commands | 1 - scenario_groups/default | 1 - testcases/commands/.gitignore | 1 - testcases/commands/at/Makefile | 31 -- testcases/commands/at/at_allow01 | 188 ------- testcases/commands/at/at_deny01 | 195 ------- testcases/commands/cron/00_Descriptions.txt | 4 - testcases/commands/cron/Makefile | 29 -- testcases/commands/cron/README.tests | 25 - testcases/commands/cron/cron02 | 80 --- testcases/commands/cron/cron03 | 83 --- testcases/commands/cron/cron_allow01 | 202 -------- testcases/commands/cron/cron_deny01 | 192 ------- testcases/commands/cron/cron_dirs_check.c | 44 -- testcases/commands/cron/cron_dirs_checks01 | 46 -- .../commands/cron/cron_illegal_cron_lines | 39 -- testcases/commands/cron/cron_neg_tests.sh | 141 ----- testcases/commands/cron/cron_pos_tests.sh | 118 ----- testcases/commands/cron/cron_tests.sh | 276 ---------- testcases/commands/su/Makefile | 31 -- testcases/commands/su/su01 | 181 ------- testcases/commands/su/su01_s1 | 486 ------------------ testcases/commands/su/su_set_passwd | 14 - testcases/kernel/fs/acls/.gitignore | 2 - testcases/kernel/fs/acls/Makefile | 40 -- testcases/kernel/fs/acls/acl_file_test.c | 73 --- testcases/kernel/fs/acls/acl_link_test.c | 56 -- testcases/kernel/fs/acls/acl_test01 | 186 ------- 29 files changed, 2774 deletions(-) delete mode 100644 runtest/admin_tools delete mode 100644 testcases/commands/at/Makefile delete mode 100755 testcases/commands/at/at_allow01 delete mode 100755 testcases/commands/at/at_deny01 delete mode 100644 testcases/commands/cron/00_Descriptions.txt delete mode 100644 testcases/commands/cron/Makefile delete mode 100644 testcases/commands/cron/README.tests delete mode 100755 testcases/commands/cron/cron02 delete mode 100755 testcases/commands/cron/cron03 delete mode 100755 testcases/commands/cron/cron_allow01 delete mode 100755 testcases/commands/cron/cron_deny01 delete mode 100644 testcases/commands/cron/cron_dirs_check.c delete mode 100755 testcases/commands/cron/cron_dirs_checks01 delete mode 100644 testcases/commands/cron/cron_illegal_cron_lines delete mode 100755 testcases/commands/cron/cron_neg_tests.sh delete mode 100755 testcases/commands/cron/cron_pos_tests.sh delete mode 100644 testcases/commands/cron/cron_tests.sh delete mode 100644 testcases/commands/su/Makefile delete mode 100755 testcases/commands/su/su01 delete mode 100755 testcases/commands/su/su01_s1 delete mode 100755 testcases/commands/su/su_set_passwd delete mode 100644 testcases/kernel/fs/acls/.gitignore delete mode 100644 testcases/kernel/fs/acls/Makefile delete mode 100644 testcases/kernel/fs/acls/acl_file_test.c delete mode 100644 testcases/kernel/fs/acls/acl_link_test.c delete mode 100755 testcases/kernel/fs/acls/acl_test01
runtest/admin_tools deleted +0 -9
@@ -1,9 +0,0 @@ -su01 export TCbin=$LTPROOT/testcases/bin;su01 -#cron01 cron01 -cron02 cron02 -cron_deny01 cron_deny01 -cron_allow01 cron_allow01 -cron_dirs_checks01 cron_dirs_checks01 -at_deny01 at_deny01 -at_allow01 at_allow01 -acl_test01 acl_test01
runtest/commands +0 -1
@@ -5,7 +5,6 @@ ldd01 ldd01 nm01 nm01 file01 file01.sh tar01 tar_tests.sh -cron cron_tests.sh logrotate export TCdat=$LTPROOT/testcases/bin; logrotate_tests.sh cpio01 cpio_tests.sh unzip01 unzip01.sh
scenario_groups/default +0 -1
@@ -17,7 +17,6 @@ filecaps cap_bounds fcntl-locktests connectors -admin_tools timers power_management_tests numa
testcases/commands/.gitignore +0 -1
@@ -1,5 +1,4 @@ /ldd/datafiles/lddfile.out /ldd/datafiles/*.obj.so -/cron/cron_dirs_check /eject/eject_check_tray /insmod/ltp_insmod01.ko
testcases/commands/at/Makefile deleted +0 -31
@@ -1,31 +0,0 @@ -# -# commands/at testcases Makefile. -# -# Copyright (C) 2009, 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. -# -# Ngie Cooper, July 2009 -# - -top_srcdir ?= ../../.. - -include $(top_srcdir)/include/mk/env_pre.mk - -INSTALL_TARGETS := at_allow01 at_deny01 - -MAKE_TARGETS := - -include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/commands/at/at_allow01 deleted +0 -188
188 lines not on this page · raw message
testcases/commands/at/at_deny01 deleted +0 -195
195 lines not on this page · raw message
testcases/commands/cron/00_Descriptions.txt deleted +0 -4
@@ -1,4 +0,0 @@ -cron01 - Test that crontab <filename> installs the cron-job-file and cron will - schedule the job correctly. -
testcases/commands/cron/Makefile deleted +0 -29
@@ -1,29 +0,0 @@ -# -# commands/cron testcases Makefile. -# -# Copyright (C) 2009, 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. -# -# Ngie Cooper, July 2009 -# - -top_srcdir ?= ../../.. - -include $(top_srcdir)/include/mk/env_pre.mk - -INSTALL_TARGETS := cron0[23] cron_illegal_cron_lines cron_allow01 cron_deny01 cron_dirs_checks01 *.sh - -include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/commands/cron/README.tests deleted +0 -25
@@ -1,25 +0,0 @@ -This directory contains two scripts and one data file to test cron. Both -shouldn't be run as root but they warn for themselves. If a username is -given as parameter they run as this user. - -Both scripts save the current crontab and restore it after finishing. - -* Positive tests - - cron_pos_tests.sh [username] - - - add new job - - check correct execution of job - - delete job - -* Negative tests - - cron_neg_tests.sh [username] - - - try to edit the crontab of root - - try to set illegal or nondefined execution times - Here the script uses file illegal_cron_lines which contains two - fields per line: the cron line to be tested (without script name), - and the description of this test. The description is written to - stdout during execution of the test. - - try to do things you aren't allowed as non-root (cron runs as root)
testcases/commands/cron/cron02 deleted +0 -80
80 lines not on this page · raw message
testcases/commands/cron/cron03 deleted +0 -83
83 lines not on this page · raw message
testcases/commands/cron/cron_allow01 deleted +0 -202
202 lines not on this page · raw message
testcases/commands/cron/cron_deny01 deleted +0 -192
192 lines not on this page · raw message
testcases/commands/cron/cron_dirs_check.c deleted +0 -44
44 lines not on this page · raw message
testcases/commands/cron/cron_dirs_checks01 deleted +0 -46
46 lines not on this page · raw message
testcases/commands/cron/cron_illegal_cron_lines deleted +0 -39
@@ -1,39 +0,0 @@ -# Collection of illegal cron lines -# Comment lines must habe its '#' as first character. -# The cron conf line and its description is seperated by '|'. -# cron job command 'true' is appended automatically - -# Illegal Minutes -61 * * * * | Minute 61 --1 * * * * | Minute -1 (might be interpreted as range) -0.5 * * * * | Minute 0.5 --1-10 * * * *| Minute Range -1-10 -0-61 * * * * | Minute Range 0-61 - -# Illegal hours -0 25 * * * | Hour 25 -0 -2 * * * | Hour -2 -0 3.5 * * *| Hour 3.5 -0 -4-10 * * *| Hour Range -4-10 -0 0-25 * * * | Hour Range 0-25 - -# Illegal day of month -0 0 32 * * | Day 32 -0 0 -1 * * | Day -1 -0 0 3.5 * *| Day 3.5 -0 0 -3-3 * *| Day Range -3-3 -0 0 0-32 * *| Day Range 0-32 - -# Illegal month -0 0 1 13 * | Month 13 -0 0 1 -1 * | Month -1 -0 0 1 2.5 * | Month 2.5 -0 0 1 -2-3 * | Month Range -2-3 -0 0 1 0-13 * | Month Range 0-13 - -# Illegal day of week -0 0 * * 8 | Day of Week 8 -0 0 * * -2 | Day of Week -2 -0 0 * * 2.5 | Day of Week 2.5 -0 0 * * -7-7 | Day of Week Range -7-7 -0 0 * * 0-8 | Day of Week Range 0-8
testcases/commands/cron/cron_neg_tests.sh deleted +0 -141
141 lines not on this page · raw message
testcases/commands/cron/cron_pos_tests.sh deleted +0 -118
118 lines not on this page · raw message
testcases/commands/cron/cron_tests.sh deleted +0 -276
276 lines not on this page · raw message
testcases/commands/su/Makefile deleted +0 -31
@@ -1,31 +0,0 @@ -# -# commands/su testcases Makefile. -# -# Copyright (C) 2009, 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. -# -# Ngie Cooper, July 2009 -# - -top_srcdir ?= ../../.. - -include $(top_srcdir)/include/mk/env_pre.mk - -INSTALL_TARGETS := su01 su01_s1 su_set_passwd - -MAKE_TARGETS := - -include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/commands/su/su01 deleted +0 -181
181 lines not on this page · raw message
testcases/commands/su/su01_s1 deleted +0 -486
486 lines not on this page · raw message
testcases/commands/su/su_set_passwd deleted +0 -14
@@ -1,14 +0,0 @@ -#!/bin/sh -# -# Set Password for a specific new user -# This script should be run as 'root' -# -# Example: -# ./su_set_passwd USER ENCRYPTED_PASSWD -# - -USER=$1 -ENCRYPTED_PASSWD=$2 - -usermod -p $ENCRYPTED_PASSWD $USER -exit $?
testcases/kernel/fs/acls/.gitignore deleted +0 -2
@@ -1,2 +0,0 @@ -/acl_file_test -/acl_link_test
testcases/kernel/fs/acls/Makefile deleted +0 -40
@@ -1,40 +0,0 @@ -# -# kernel/fs/acls testcases Makefile. -# -# Copyright (C) 2009, 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. -# -# Ngie Cooper, July 2009 -# - -top_srcdir ?= ../../../.. - -include $(top_srcdir)/include/mk/env_pre.mk - -check_header = $(shell \ - if echo "\#include <$(1)>" | $(CC) -E - > /dev/null 2>&1 ; \ - then echo yes ; \ - else echo no ; fi) - -INSTALL_TARGETS := acl_test01 - -RESULT := $(call check_header,sys/xattr.h) - -ifneq ($(RESULT),yes) -MAKE_TARGETS := -endif - -include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/kernel/fs/acls/acl_file_test.c deleted +0 -73
73 lines not on this page · raw message
testcases/kernel/fs/acls/acl_link_test.c deleted +0 -56
56 lines not on this page · raw message
testcases/kernel/fs/acls/acl_test01 deleted +0 -186
186 lines not on this page · raw message
Signature · 1 line
2.19.0
v2 cover Remove some userspace related tests
In reply to Petr VorelHi Petr,
This patch set looks good to me.
Thanks,
Xiao Yang
Quoted 98 lines · Petr Vorel
Hi,
Changes
v1->v2:
change in 3rd patch:
* at: removedat_allow01,at_deny01, Makefiles
* Removed also su and acls tests.Petr Vorel (3):
testscripts: Remove EAL2 testsuite script
net: Removenetwork_commands(ftp, ssh)
Removeadmin_toolstestruntest/admin_tools | 9 - runtest/commands | 1 - runtest/network_commands | 8 - scenario_groups/default | 1 - scenario_groups/network | 1 - testcases/commands/.gitignore | 1 - testcases/commands/at/Makefile | 31 -- testcases/commands/at/at_allow01 | 188 ------- testcases/commands/at/at_deny01 | 195 ------- testcases/commands/cron/00_Descriptions.txt | 4 - testcases/commands/cron/Makefile | 29 -- testcases/commands/cron/README.tests | 25 - testcases/commands/cron/cron02 | 80 --- testcases/commands/cron/cron03 | 83 --- testcases/commands/cron/cron_allow01 | 202 -------- testcases/commands/cron/cron_deny01 | 192 ------- testcases/commands/cron/cron_dirs_check.c | 44 -- testcases/commands/cron/cron_dirs_checks01 | 46 -- .../commands/cron/cron_illegal_cron_lines | 39 -- testcases/commands/cron/cron_neg_tests.sh | 141 ----- testcases/commands/cron/cron_pos_tests.sh | 118 ----- testcases/commands/cron/cron_tests.sh | 276 ---------- testcases/commands/su/Makefile | 31 -- testcases/commands/su/su01 | 181 ------- testcases/commands/su/su01_s1 | 486 ------------------ testcases/commands/su/su_set_passwd | 14 - testcases/kernel/fs/acls/.gitignore | 2 - testcases/kernel/fs/acls/Makefile | 40 -- testcases/kernel/fs/acls/acl_file_test.c | 73 --- testcases/kernel/fs/acls/acl_link_test.c | 56 -- testcases/kernel/fs/acls/acl_test01 | 186 ------- testcases/network/tcp_cmds/ftp/ftp02 | 98 ---- testcases/network/tcp_cmds/ftp/ftp03 | 106 ---- testcases/network/tcp_cmds/ftp/ftp04 | 81 --- testcases/network/tcp_cmds/ftp/ftp05 | 110 ---- testcases/network/tcp_cmds/ssh/Makefile | 31 -- testcases/network/tcp_cmds/ssh/ssh01 | 57 -- testcases/network/tcp_cmds/ssh/ssh01_s1 | 72 --- testcases/network/tcp_cmds/ssh/ssh02 | 57 -- testcases/network/tcp_cmds/ssh/ssh02_s1 | 73 --- testcases/network/tcp_cmds/ssh/ssh03 | 52 -- testcases/network/tcp_cmds/ssh/ssh03_s1 | 67 --- testcases/network/tcp_cmds/ssh/ssh_setup | 54 -- testscripts/runEALtests.sh | 235 --------- 44 files changed, 3876 deletions(-)delete mode 100644 runtest/admin_tools
delete mode 100644 runtest/network_commands
delete mode 100644 testcases/commands/at/Makefile delete mode 100755 testcases/commands/at/at_allow01 delete mode 100755 testcases/commands/at/at_deny01 delete mode 100644testcases/commands/cron/00_Descriptions.txtdelete mode 100644 testcases/commands/cron/Makefile delete mode 100644 testcases/commands/cron/README.tests delete mode 100755 testcases/commands/cron/cron02 delete mode 100755 testcases/commands/cron/cron03 delete mode 100755 testcases/commands/cron/cron_allow01 delete mode 100755 testcases/commands/cron/cron_deny01 delete mode 100644testcases/commands/cron/cron_dirs_check.cdelete mode 100755 testcases/commands/cron/cron_dirs_checks01 delete mode 100644 testcases/commands/cron/cron_illegal_cron_lines delete mode 100755testcases/commands/cron/cron_neg_tests.shdelete mode 100755testcases/commands/cron/cron_pos_tests.shdelete mode 100644testcases/commands/cron/cron_tests.shdelete mode 100644 testcases/commands/su/Makefile delete mode 100755 testcases/commands/su/su01
delete mode 100755 testcases/commands/su/su01_s1
delete mode 100755 testcases/commands/su/su_set_passwd delete mode 100644 testcases/kernel/fs/acls/.gitignore delete mode 100644 testcases/kernel/fs/acls/Makefile delete mode 100644testcases/kernel/fs/acls/acl_file_test.cdelete mode 100644testcases/kernel/fs/acls/acl_link_test.cdelete mode 100755 testcases/kernel/fs/acls/acl_test01 delete mode 100755 testcases/network/tcp_cmds/ftp/ftp02 delete mode 100755 testcases/network/tcp_cmds/ftp/ftp03 delete mode 100755 testcases/network/tcp_cmds/ftp/ftp04 delete mode 100755 testcases/network/tcp_cmds/ftp/ftp05 delete mode 100644 testcases/network/tcp_cmds/ssh/Makefile delete mode 100755 testcases/network/tcp_cmds/ssh/ssh01 delete mode 100755 testcases/network/tcp_cmds/ssh/ssh01_s1 delete mode 100755 testcases/network/tcp_cmds/ssh/ssh02 delete mode 100755 testcases/network/tcp_cmds/ssh/ssh02_s1 delete mode 100755 testcases/network/tcp_cmds/ssh/ssh03 delete mode 100755 testcases/network/tcp_cmds/ssh/ssh03_s1 delete mode 100755 testcases/network/tcp_cmds/ssh/ssh_setup delete mode 100755testscripts/runEALtests.sh
v2 cover Remove some userspace related tests
In reply to Petr Vorel----- Original Message -----
Quoted 6 lines
Hi,
Changes
v1->v2:
change in 3rd patch:
* at: removedat_allow01,at_deny01, Makefiles
* Removed also su and acls tests.
I don't have objections, ack set.
v2 cover Remove some userspace related tests
In reply to Petr VorelHi!
Pushed, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]