* [LTP] [PATCH v2 1/4] Remove testscripts/network.sh
2026-09-04 8:55 [LTP] [PATCH v2 0/4] testscripts: Remove outdated scripts (ltp-pan) Petr Vorel
@ 2026-09-04 8:55 ` Petr Vorel
2026-09-04 9:19 ` [LTP] " linuxtestproject.agent
2026-09-04 8:55 ` [LTP] [PATCH v2 2/4] Remove testscripts/tpm_tools.sh Petr Vorel
` (4 subsequent siblings)
5 siblings, 1 reply; 8+ messages in thread
From: Petr Vorel @ 2026-09-04 8:55 UTC (permalink / raw)
To: ltp; +Cc: Tim Bird, Steffen Jaeckel, automated-testing
Script was using ltp-pan (already removed), kirk should now be used.
Fixes: 5e5fd4a1ae ("pan: Remove")
Reported-by: Steffen Jaeckel <sjaeckel@suse.de>
Acked-by: Andrea Cervesato <andrea.cervesato@suse.com>
Acked-by: Avinesh Kumar <avinesh.kumar@suse.com>
Acked-by: Jan Stancek <jstancek@redhat.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Changes v1->v2:
* Remove network.sh from doc, mention kirk.
testcases/network/README.md | 12 ++--
testscripts/network.sh | 118 ------------------------------------
2 files changed, 7 insertions(+), 123 deletions(-)
delete mode 100755 testscripts/network.sh
diff --git a/testcases/network/README.md b/testcases/network/README.md
index 2a8bd3d33c..d6f7ae03b0 100644
--- a/testcases/network/README.md
+++ b/testcases/network/README.md
@@ -54,14 +54,16 @@ export LTPROOT="/opt/ltp"; export PATH="$LTPROOT/testcases/bin:$PATH"
```
## Running the tests
-The network tests are executed by running the network.sh script:
+
+To run the network testcases, use the official LTP executor kirk:
+https://github.com/linux-test-project/kirk.
+
+To pass environment variables use `--env` with list of key=value separated by `:`
```sh
-TEST_VARS ./network.sh OPTIONS
+kirk --run-suite net.features \
+ --env 'VIRT_PERF_THRESHOLD=180:LTP_NET_FEATURES_IGNORE_PERFORMANCE_FAILURE=1'
```
-Where
-* `TEST_VARS` - non-default network parameters
-* `OPTIONS` - test group(s), use `-h` to see available ones.
Default values for all LTP network parameters are set in `testcases/lib/tst_net.sh`.
Network stress parameters are documented in `testcases/network/stress/README`.
diff --git a/testscripts/network.sh b/testscripts/network.sh
deleted file mode 100755
index afe9c7a977..0000000000
--- a/testscripts/network.sh
+++ /dev/null
@@ -1,118 +0,0 @@
-#!/bin/sh
-# SPDX-License-Identifier: GPL-2.0-or-later
-# Copyright (c) Linux Test Project, 2013-2019
-
-cd $(dirname $0)
-export LTPROOT=${LTPROOT:-"$PWD"}
-echo $LTPROOT | grep -q testscripts
-if [ $? -eq 0 ]; then
- cd ..
- export LTPROOT=${PWD}
-fi
-
-export TMPDIR=/tmp/netpan-$$
-mkdir -p $TMPDIR
-CMDFILE=${TMPDIR}/network.tests
-VERBOSE="no"
-NO_KMSG=
-QUIET_MODE=
-TEST_CASES=
-
-export PATH="${PATH}:${LTPROOT}/testcases/bin"
-
-usage()
-{
- echo "Usage: $0 OPTIONS"
- echo " -6 IPv6 tests"
- echo " -m multicast tests"
- echo " -n NFS tests"
- echo " -s SCTP tests"
- echo " -t TCP/IP command tests"
- echo " -c RPC and TI-RPC tests"
- echo " -d TS-RPC tests"
- echo " -a Application stress tests (HTTP, SSH, DNS)"
- echo " -e Interface stress tests"
- echo " -b Stress tests with malformed ICMP packets"
- echo " -i IPsec ICMP stress tests"
- echo " -T IPsec TCP stress tests"
- echo " -U IPsec UDP stress tests"
- echo " -D IPsec DCCP stress tests"
- echo " -S IPsec SCTP stress tests"
- echo " -R route stress tests"
- echo " -M multicast stress tests"
- echo " -F network features tests (TFO, vxlan, etc.)"
- echo " -f x where x is a runtest file"
- echo " -q quiet mode (this implies not logging start of test"
- echo " in kernel log)"
- echo " -Q don't log start of test in kernel log"
- echo " -V|v verbose"
- echo " -h print this help"
-}
-
-while getopts 6mnrstaebcdiTUDSRMFf:qQVvh OPTION
-do
- case $OPTION in
- 6) TEST_CASES="$TEST_CASES net.ipv6 net.ipv6_lib";;
- m) TEST_CASES="$TEST_CASES net.multicast";;
- n) TEST_CASES="$TEST_CASES net.nfs";;
- s) TEST_CASES="$TEST_CASES net.sctp";;
- t) TEST_CASES="$TEST_CASES net.tcp_cmds";;
- c) TEST_CASES="$TEST_CASES net.rpc_tests";;
- d) TEST_CASES="$TEST_CASES net.tirpc_tests";;
- a) TEST_CASES="$TEST_CASES net_stress.appl";;
- e) TEST_CASES="$TEST_CASES net_stress.interface";;
- b) TEST_CASES="$TEST_CASES net_stress.broken_ip";;
- i) TEST_CASES="$TEST_CASES net_stress.ipsec_icmp";;
- T) TEST_CASES="$TEST_CASES net_stress.ipsec_tcp";;
- U) TEST_CASES="$TEST_CASES net_stress.ipsec_udp";;
- D) TEST_CASES="$TEST_CASES net_stress.ipsec_dccp";;
- S) TEST_CASES="$TEST_CASES net_stress.ipsec_sctp";;
- R) TEST_CASES="$TEST_CASES net_stress.route";;
- M) TEST_CASES="$TEST_CASES net_stress.multicast";;
- F) TEST_CASES="$TEST_CASES net.features";;
- f) TEST_CASES=${OPTARG};;
- q) QUIET_MODE="-q";;
- Q) NO_KMSG="-Q";;
- V|v) VERBOSE="yes";;
- h) usage; exit 0;;
- *) echo "Error: invalid option..."; usage; exit 1;;
- esac
-done
-
-if [ "$OPTIND" -eq 1 ]; then
- echo "Error: option is required"
- usage
- exit 1
-fi
-shift $(($OPTIND - 1))
-
-rm -f $CMDFILE
-
-for t in $TEST_CASES; do
- cat ${LTPROOT}/runtest/$t >> $CMDFILE
-done
-
-cd $TMPDIR
-
-cmd="${LTPROOT}/bin/ltp-pan $QUIET_MODE $NO_KMSG -e -l /tmp/netpan.log -S -a ltpnet -n ltpnet -f $CMDFILE"
-
-if [ ${VERBOSE} = "yes" ]; then
- echo "Network parameters:"
- echo " - ${LHOST_IFACES} local interface (MAC address: ${LHOST_HWADDRS})"
- echo " - ${RHOST_IFACES} remote interface (MAC address: ${RHOST_HWADDRS})"
-
- cat $CMDFILE
- ${LTPROOT}/ver_linux
- echo ""
- echo $cmd
-fi
-
-$cmd
-
-if [ $? -eq "0" ]; then
- echo ltp-pan reported PASS
-else
- echo ltp-pan reported FAIL
-fi
-
-rm -rf $TMPDIR
--
2.55.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 8+ messages in thread* [LTP] [PATCH v2 2/4] Remove testscripts/tpm_tools.sh
2026-09-04 8:55 [LTP] [PATCH v2 0/4] testscripts: Remove outdated scripts (ltp-pan) Petr Vorel
2026-09-04 8:55 ` [LTP] [PATCH v2 1/4] Remove testscripts/network.sh Petr Vorel
@ 2026-09-04 8:55 ` Petr Vorel
2026-09-04 8:55 ` [LTP] [PATCH v2 3/4] Remove testscripts/ltp-aiodio.sh Petr Vorel
` (3 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Petr Vorel @ 2026-09-04 8:55 UTC (permalink / raw)
To: ltp; +Cc: Tim Bird, Steffen Jaeckel, automated-testing
Script was using ltp-pan (already removed), kirk should now be used.
Fixes: 5e5fd4a1ae ("pan: Remove")
Reported-by: Steffen Jaeckel <sjaeckel@suse.de>
Acked-by: Andrea Cervesato <andrea.cervesato@suse.com>
Acked-by: Avinesh Kumar <avinesh.kumar@suse.com>
Acked-by: Jan Stancek <jstancek@redhat.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
The same as in v1.
testscripts/tpm_tools.sh | 173 ---------------------------------------
1 file changed, 173 deletions(-)
delete mode 100755 testscripts/tpm_tools.sh
diff --git a/testscripts/tpm_tools.sh b/testscripts/tpm_tools.sh
deleted file mode 100755
index bf42b14728..0000000000
--- a/testscripts/tpm_tools.sh
+++ /dev/null
@@ -1,173 +0,0 @@
-#!/bin/sh
-#
-# Copyright (c) International Business Machines Corp., 2005
-#
-# 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
-#
-
-# test_tpm_tools.sh - Run the tpm-tools test suite.
-
-# Must be root to run the testsuite
-#if [ $UID != 0 ]
-#then
-# echo "FAILED: Must be root to execute this script"
-# exit 1
-#fi
-
-# Set the LTPROOT directory
-cd `dirname $0`
-export LTPROOT=${PWD}
-echo $LTPROOT | grep testscripts > /dev/null 2>&1
-if [ $? -eq 0 ]
-then
- cd ..
- export LTPROOT=${PWD}
-fi
-
-# Set the PATH to include testcase/bin
-# and the sbin directories
-export LTPBIN=$LTPROOT/testcases/bin
-export PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin:$LTPBIN
-
-# We will store the logfiles in $LTPROOT/results, so make sure
-# it exists.
-if [ ! -d $LTPROOT/results ]
-then
- mkdir $LTPROOT/results
-fi
-
-# Check for programs/daemons/groups...
-USER="`whoami`"
-RC=0
-if [ -z "$LTPTMP" ] && [ -z "$TMPBASE" ]
-then
- LTPTMP="/tmp"
-else
- LTPTMP="$TMPBASE"
-fi
-export TPM_TMPFILE="$LTPTMP/tst_tpm.err"
-rm -f $TPM_TMPFILE 1>/dev/null 2>&1
-
-# Check for the expect command
-rm -f $TPM_TMPFILE 1>/dev/null 2>&1
-which expect 1>$TPM_TMPFILE 2>&1
-if [ $? -ne 0 ]
-then
- echo "The 'expect' command is not available. Be sure the expect package has been installed properly"
- RC=1
-fi
-
-# Check for TrouSerS and that it is running
-rm -f $TPM_TMPFILE 1>/dev/null 2>&1
-which tcsd 1>$TPM_TMPFILE 2>&1
-if [ $? -ne 0 ]
-then
- echo "The trousers TSS stack is not available. Be sure trousers has been installed properly"
- if [ -f $TPM_TMPFILE ]
- then
- cat $TPM_TMPFILE
- fi
- RC=1
-else
- rm -f $TPM_TMPFILE 1>/dev/null 2>&1
- ps -ef 1>$TPM_TMPFILE
- grep tcsd $TPM_TMPFILE 1>/dev/null
- if [ $? -ne 0 ]
- then
- echo "The trousers TSS stack is not running. Be sure to start the trousers daemon (tcsd)"
- RC=1
- fi
-fi
-
-# Make the opencryptoki testing optional
-if [ -z "$TPM_NOPKCS11" ]
-then
-
- # Check for the pkcs11 group and that the user is a member of it
- grep -q ^pkcs11: /etc/group
- if [ $? -ne 0 ]
- then
- echo "The 'pkcs11' group does not exist. Be sure openCryptoki has been installed properly"
- RC=1
- fi
-
- groups | grep pkcs11 1>/dev/null 2>&1
- if [ $? -ne 0 ]
- then
- echo "User '$USER' is not a member of the 'pkcs11' group"
- RC=1
- fi
-
- # Check for openCryptoki and that it is running
- # Additionally, delete the user's TPM token data store.
- rm -f $TPM_TMPFILE 1>/dev/null 2>&1
- which pkcsslotd 1>$TPM_TMPFILE 2>&1
- if [ $? -ne 0 ]
- then
- echo "The openCryptoki PKCS#11 slot daemon is not available. Be sure openCryptoki has been installed properly"
- if [ -f $TPM_TMPFILE ]
- then
- cat $TPM_TMPFILE
- fi
- RC=1
- else
- rm -f $TPM_TMPFILE 1>/dev/null 2>&1
- ps -ef 1>$TPM_TMPFILE
- grep pkcsslotd $TPM_TMPFILE 1>/dev/null
- if [ $? -ne 0 ]
- then
- echo "The openCryptoki PKCS#11 slot daemon is not running. Be sure to start the openCryptoki slot daemon (pkcsslotd)"
- RC=1
- else
- P11DIR=`which pkcsslotd | sed s-/sbin/pkcsslotd--`
- if [ "$P11DIR" = "/usr" ]
- then
- P11DIR=""
- fi
-
- grep libpkcs11_tpm $P11DIR/var/lib/opencryptoki/pk_config_data 1>/dev/null
- if [ $? -ne 0 ]
- then
- echo "The TPM PKCS#11 token is not active. Be sure openCryptoki has been installed properly"
- RC=1
- fi
- if [ -d $P11DIR/var/lib/opencryptoki/tpm/$USER ]
- then
- rm -rf $P11DIR/var/lib/opencryptoki/tpm/$USER
- fi
- fi
- fi
-fi
-
-if [ $RC -ne 0 ]
-then
- exit 1
-fi
-
-# Set known password values
-export OWN_PWD="OWN PWD"
-export NEW_OWN_PWD="NEW OWN PWD"
-export SRK_PWD="SRK PWD"
-export NEW_SRK_PWD="NEW SRK PWD"
-export P11_SO_PWD="P11 SO PWD"
-export NEW_P11_SO_PWD="NEW P11 SO PWD"
-export P11_USER_PWD="P11 USER PWD"
-export NEW_P11_USER_PWD="NEW P11 USER PWD"
-
-echo "Running the tpm-tools testsuite..."
-$LTPROOT/bin/ltp-pan -d 5 -S -a $LTPROOT/results/tpm_tools -n ltp-tpm-tools -l $LTPROOT/results/tpm_tools.logfile -o $LTPROOT/results/tpm_tools.outfile -p -f $LTPROOT/runtest/tpm_tools
-
-echo "Done."
-exit 0
--
2.55.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 8+ messages in thread* [LTP] [PATCH v2 3/4] Remove testscripts/ltp-aiodio.sh
2026-09-04 8:55 [LTP] [PATCH v2 0/4] testscripts: Remove outdated scripts (ltp-pan) Petr Vorel
2026-09-04 8:55 ` [LTP] [PATCH v2 1/4] Remove testscripts/network.sh Petr Vorel
2026-09-04 8:55 ` [LTP] [PATCH v2 2/4] Remove testscripts/tpm_tools.sh Petr Vorel
@ 2026-09-04 8:55 ` Petr Vorel
2026-09-04 8:55 ` [LTP] [PATCH v2 4/4] controllers: Remove obsolete references to ltp-pan Petr Vorel
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Petr Vorel @ 2026-09-04 8:55 UTC (permalink / raw)
To: ltp; +Cc: Tim Bird, Steffen Jaeckel, automated-testing
Script was using ltp-pan (already removed), kirk should now be used.
Update also testcases/kernel/io/ltp-aiodio/README, while at it remove
also note about the old gcc 3 requirement.
Remove also now unused testscripts/yesenter.txt.
Fixes: 5e5fd4a1ae ("pan: Remove")
Reported-by: Steffen Jaeckel <sjaeckel@suse.de>
Acked-by: Andrea Cervesato <andrea.cervesato@suse.com>
Acked-by: Avinesh Kumar <avinesh.kumar@suse.com>
Acked-by: Jan Stancek <jstancek@redhat.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Changes v1->v2:
* Remove ltp-aiodio.sh from doc, also gcc 3.
testcases/kernel/io/ltp-aiodio/README | 8 -
testscripts/ltp-aiodio.sh | 327 --------------------------
testscripts/yesenter.txt | 2 -
3 files changed, 337 deletions(-)
delete mode 100755 testscripts/ltp-aiodio.sh
delete mode 100644 testscripts/yesenter.txt
diff --git a/testcases/kernel/io/ltp-aiodio/README b/testcases/kernel/io/ltp-aiodio/README
index ae31db7999..338950438a 100644
--- a/testcases/kernel/io/ltp-aiodio/README
+++ b/testcases/kernel/io/ltp-aiodio/README
@@ -1,13 +1,5 @@
-
TESTS to check consistency between O_DIRECT reads/writes and buffered
reads/writes and truncate.
-These tests should be run from the aiodio directory and MUST use a kernel
-compiled with GCC 3.3.X. Older versions of the compiler will fail and seg fault.
-
The large file passed should be at least 25M to properly stress AIO & DIO. A
suggestion would be a tarred version of the gcc package.
-
-Run the ltp-aiodio.sh file to execute all the tests. The tests can also be run
-individually, just execute the program and the excepted params will be output.
-No scripts were created to run the test standalone.
diff --git a/testscripts/ltp-aiodio.sh b/testscripts/ltp-aiodio.sh
deleted file mode 100755
index 06ea534e37..0000000000
--- a/testscripts/ltp-aiodio.sh
+++ /dev/null
@@ -1,327 +0,0 @@
-#!/bin/bash
-# This script should be run after installing the libaio RPM or libraries
-# A valid large file should be passed to the test.
-# These tests will only run correctly if the kernel and libaio has been compiled
-# with at least a 3.3.X GCC. Older versions of the compiler will seg fault.
-#
-# 02/08/04 mridge@us.ibm.com
-#
-# 04/12/06 a Forth scenerio file has been added ltp-aiodio.part4
-#
-
-cd `dirname $0`
-export LTPROOT=${PWD}
-echo $LTPROOT | grep testscripts > /dev/null 2>&1
-if [ $? -eq 0 ]; then
- cd ..
- export LTPROOT=${PWD}
-fi
-export PATH=$LTPROOT/testcases/bin:$PATH
-export TMP=${TMP:=/tmp}
-
-run0=0
-runTest=0
-nextTest=0
-runExtendedStress=0
-
-export TMPBASE="/tmp"
-usage()
-{
- cat <<-END >&2
- usage: ${0##*/} [ -f large_filename -b partition] [-o optional partition] [-e 1] [-t 1] [-j 1] [-x 1] or [-a 1]
-
- defaults:
- file1=$file1
- part1=$part1
- ext2=0
- ext3=0
- jfs=0
- xfs=0
- example: ${0##*/} -f MyLargeFile -b /dev/hdc1 [-o /dev/hdc2] [-a 1] or
-[-e 1] [-x 1] [-j 1] [-t 1]
- -o = optional partition allows some of the tests to utilize multiple filesystems to further stress AIO/DIO
- -e = test ex2 filesystem.
- -t = test ext3 filesystem
- -j = test JFS filesystem
- -x = test XFS filesystem
- or
- -a = test all supported filesystems, this will override any other filesystem flags passed.
-
- - a 1 turns on the test for the above supported filesystem, just omit passing the flag to skip that filesystem.
-
- - A Large file should be passed to fully stress the test. You must pass at least one filesystem to test, you can pass any combination
- but there is not a default filesystem. ReiserFS does not support AIO so these tests will not support ReiserFS.
-
- - WARNING !! The partition you pass will be overwritten. This is a destructive test so only pass a partition where data can be destroyed.
-
-
-
- END
-exit
-}
-
-while getopts :a:b:e:f:t:o:x:j: arg
-do case $arg in
- f) file1=$OPTARG;;
- b) part1=$OPTARG;;
- o) part2=$OPTARG;;
- e) ext2=$OPTARG;;
- t) ext3=$OPTARG;;
- x) xfs=$OPTARG;;
- j) jfs=$OPTARG;;
- a) allfs=$OPTARG;;
-
- \?) echo "************** Help Info: ********************"
- usage;;
- esac
-done
-
-if [ ! -n "$file1" ]; then
- echo "Missing the large file. You must pass a large filename for testing"
- usage;
- exit
-fi
-
-if [ ! -n "$part1" ]; then
- echo "Missing the partition. You must pass a partition for testing"
- usage;
- exit
-fi
-
-if [ -n "$allfs" ]; then
- echo "testing ALL supported filesystems"
- ext2="1"
- ext3="1"
- jfs="1"
- xfs="1"
- echo "test run = $run0"
-fi
-
-if [ -n "$ext2" ]; then
- echo "** testing ext2 **"
- run0=$(($run0+1))
-fi
-
-if [ -n "$ext3" ]; then
- echo "** testing ext3 **"
- run0=$(($run0+1))
-fi
-
-if [ -n "$xfs" ]; then
- echo "** testing xfs **"
- run0=$(($run0+1))
-fi
-
-if [ -n "$jfs" ]; then
- echo "** testing jfs **"
- run0=$(($run0+1))
-fi
-
-if [ -n "$part2" -a "$run0" -gt 1 ]; then
- echo "** Running extended stress testing **"
- runExtendedStress=1
-elif [ -n "$part2" -a "$run0" -eq 1 ]; then
- echo " ** You must pass at least 2 filesystems to run an extended AIO stress test **"
- usage;
-fi
-
-if [ "$run0" -eq 0 ]; then
- echo "No filesystems passed to test"
- echo "Please pass at least one supported filesystem or the -a 1 flag to run all "
- usage;
-fi
-
-mkdir $TMP > /dev/null 2>&1
-mkdir $TMP/aiodio > /dev/null 2>&1
-mkdir $TMP/aiodio2 > /dev/null 2>&1
-
-while [ "$runTest" -lt "$run0" ]
-do
-
-echo "runTest=$runTest run0=$run0 nextTest=$nextTest"
-
-if [ -n "$ext2" -a $nextTest -eq 0 ]; then
- echo "***************************"
- echo "* Testing ext2 filesystem *"
- echo "***************************"
- mkfs -t ext2 $part1
- mount -t ext2 $part1 $TMP/aiodio
- if [ "$runExtendedStress" -eq 1 -a -n "$ext3" ]; then
- mkfs -t ext3 $part2
- mount -t ext3 $part2 $TMP/aiodio2
- elif [ "$runExtendedStress" -eq 1 -a -n "$jfs" ]; then
- mkfs.jfs $part2 <testscripts/yesenter.txt
- mount -t jfs $part2 $TMP/aiodio2
- elif [ "$runExtendedStress" -eq 1 -a -n "$xfs" ]; then
- mkfs.xfs -f $part2
- mount -t xfs $part2 $TMP/aiodio2
- fi
-elif [ $nextTest -eq 0 ]; then
- nextTest=$(($nextTest+1))
-fi
-
-if [ -n "$ext3" -a $nextTest -eq 1 ]; then
- echo "***************************"
- echo "* Testing ext3 filesystem *"
- echo "***************************"
- mkfs -t ext3 $part1
- mount -t ext3 $part1 $TMP/aiodio
- if [ "$runExtendedStress" -eq 1 -a -n "$jfs" ]; then
- mkfs.jfs $part2 <testscripts/yesenter.txt
- mount -t jfs $part2 $TMP/aiodio2
- elif [ "$runExtendedStress" -eq 1 -a -n "$xfs" ]; then
- mkfs.xfs -f $part2
- mount -t xfs $part2 $TMP/aiodio2
- elif [ "$runExtendedStress" -eq 1 -a -n "$ext2" ]; then
- mkfs -t ext2 $part2
- mount -t ext2 $part2 $TMP/aiodio2
- fi
-elif [ $nextTest -eq 1 ]; then
- nextTest=$(($nextTest+1))
-fi
-
-if [ -n "$jfs" -a $nextTest -eq 2 ]; then
- echo "**************************"
- echo "* Testing jfs filesystem *"
- echo "**************************"
- mkfs.jfs $part1 <testscripts/yesenter.txt
- mount -t jfs $part1 $TMP/aiodio
- if [ "$runExtendedStress" -eq 1 -a -n "$ext3" ]; then
- mkfs -t ext3 $part2
- mount -t ext3 $part2 $TMP/aiodio2
- elif [ "$runExtendedStress" -eq 1 -a -n "$xfs" ]; then
- mkfs.xfs -f $part2
- mount -t xfs $part2 $TMP/aiodio2
- elif [ "$runExtendedStress" -eq 1 -a -n "$ext2" ]; then
- mkfs -t ext2 $part2
- mount -t ext2 $part2 $TMP/aiodio2
- fi
-elif [ $nextTest -eq 2 ]; then
- nextTest=$(($nextTest+1))
-fi
-
-if [ -n "$xfs" -a $nextTest -eq 3 ]; then
- echo "**************************"
- echo "* Testing xfs filesystem *"
- echo "**************************"
- mkfs.xfs -f $part1
- mount -t xfs $part1 $TMP/aiodio
- if [ "$runExtendedStress" -eq 1 -a -n "$ext2" ]; then
- mkfs -t ext2 $part2
- mount -t ext2 $part2 $TMP/aiodio2
- elif [ "$runExtendedStress" -eq 1 -a -n "$ext3" ]; then
- mkfs -t ext3 $part2
- mount -t ext3 $part2 $TMP/aiodio2
- elif [ "$runExtendedStress" -eq 1 -a -n "$jfs" ]; then
- mkfs.jfs $part2 <testscripts/yesenter.txt
- mount -t jfs $part2 $TMP/aiodio2
- fi
-elif [ $nextTest -eq 3 ]; then
- nextTest=$(($nextTest+1))
-fi
-
-nextTest=$(($nextTest+1))
-runTest=$(($runTest+1))
-
-mkdir $TMP/aiodio/junkdir
-dd if=$file1 of=$TMP/aiodio/junkfile bs=8192 conv=block,sync
-
-date
-echo "************ Running aio-stress tests "
-echo "current working dir = ${PWD}"
-sort -R ${LTPROOT}/runtest/ltp-aio-stress.part1 -o ${TMPBASE}/ltp-aio-stress.part1
-
-${LTPROOT}/bin/ltp-pan -e -S -a ltpaiostresspart1 -n ltp-aiostresspart1 -l ltpaiostress.logfile -o ltpaiostress.outfile -p -f ${TMPBASE}/ltp-aio-stress.part1 &
-
-wait $!
-
-sync
-echo "************ End Running aio-stress tests "
-echo ""
-
-if [ "$runExtendedStress" -eq 1 ];then
-echo "************ Running EXTENDED aio-stress tests "
-sort -R ${LTPROOT}/runtest/ltp-aio-stress.part2 -o ${TMPBASE}/ltp-aio-stress.part2
-
-${LTPROOT}/bin/ltp-pan -e -S -a ltpaiostresspart2 -n ltp-aiostresspart2 -l ltpaiostress.logfile -o ltpaiostress.outfile -p -f ${TMPBASE}/ltp-aio-stress.part2 &
-
-wait $!
-sync
-fi
-
-dd if=$file1 of=$TMP/aiodio/junkfile bs=8192 conv=block,sync
-dd if=$file1 of=$TMP/aiodio/fff bs=4096 conv=block,sync
-dd if=$file1 of=$TMP/aiodio/ff1 bs=2048 conv=block,sync
-dd if=$file1 of=$TMP/aiodio/ff2 bs=1024 conv=block,sync
-dd if=$file1 of=$TMP/aiodio/ff3 bs=512 conv=block,sync
-
-echo "************ Running aiocp tests "
-sort -R ${LTPROOT}/runtest/ltp-aiodio.part1 -o ${TMPBASE}/ltp-aiodio.part1
-
-${LTPROOT}/bin/ltp-pan -e -S -a ltpaiodiopart1 -n ltp-aiodiopart1 -l ltpaiodio1.logfile -o ltpaiodio1.outfile -p -f ${TMPBASE}/ltp-aiodio.part1 &
-
-wait $!
-sync
-echo "************ End Running aiocp tests "
-echo ""
-
-echo "************ Running aiodio_sparse tests "
-sort -R ${LTPROOT}/runtest/ltp-aiodio.part2 -o ${TMPBASE}/ltp-aiodio.part2
-
-${LTPROOT}/bin/ltp-pan -e -S -a ltpaiodiopart2 -n ltp-aiodiopart2 -l ltpaiodio2.logfile -o ltpaiodio2.outfile -p -f ${TMPBASE}/ltp-aiodio.part2 &
-
-wait $!
-sync
-echo "************ End Running aiodio_sparse tests "
-echo ""
-
-
-if [ "$runExtendedStress" -eq 1 ];then
-echo "************ Running fsx-linux tests "
-sort -R ${LTPROOT}/runtest/ltp-aiodio.part3 -o ${TMPBASE}/ltp-aiodio.part3
-
-${LTPROOT}/bin/ltp-pan -e -S -a ltpaiodiopart3 -n ltp-aiodiopart3 -l ltpaiodio3.logfile -o ltpaiodio3.outfile -p -f ${TMPBASE}/ltp-aiodio.part3 &
-
-
-
-wait $!
-sync
-fi
-
-dd if=$file1 of=$TMP/aiodio/file2 bs=2048 conv=block,sync
-dd if=$file1 of=$TMP/aiodio/file3 bs=1024 conv=block,sync
-dd if=$file1 of=$TMP/aiodio/file4 bs=512 conv=block,sync
-dd if=$file1 of=$TMP/aiodio/file5 bs=4096 conv=block,sync
-
-
-
-
-echo "************ Running dio_sparse & miscellaneous tests "
-sort -R ${LTPROOT}/runtest/ltp-aiodio.part4 -o ${TMPBASE}/ltp-aiodio.part4
-${LTPROOT}/bin/ltp-pan -e -S -a ltpaiodiopart4 -n ltp-aiodiopart4 -l ltpaiodio4.logfile -o ltpaiodio4.outfile -p -f ${TMPBASE}/ltp-aiodio.part4 &
-
-wait $!
-sync
-echo "************ End Running dio_sparse & miscellaneous tests "
-echo ""
-
-echo "************ Cleaning/Umounting"
-
-rm -f $TMP/aiodio/fff
-rm -f $TMP/aiodio/ff1
-rm -f $TMP/aiodio/ff2
-rm -f $TMP/aiodio/ff3
-rm -f $TMP/aiodio/junkfile*
-rm -f $TMP/aiodio/file*
-rm -rf $TMP/aiodio/junkdir
-
-umount $part1
-
-if [ "$runExtendedStress" -eq 1 ]; then
- umount $part2
-fi
-
-
-done
-date
-echo "AIO/DIO test complete "
diff --git a/testscripts/yesenter.txt b/testscripts/yesenter.txt
deleted file mode 100644
index 842f4ffd57..0000000000
--- a/testscripts/yesenter.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-y
-
--
2.55.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 8+ messages in thread* [LTP] [PATCH v2 4/4] controllers: Remove obsolete references to ltp-pan
2026-09-04 8:55 [LTP] [PATCH v2 0/4] testscripts: Remove outdated scripts (ltp-pan) Petr Vorel
` (2 preceding siblings ...)
2026-09-04 8:55 ` [LTP] [PATCH v2 3/4] Remove testscripts/ltp-aiodio.sh Petr Vorel
@ 2026-09-04 8:55 ` Petr Vorel
2026-09-04 9:34 ` [LTP] [PATCH v2 0/4] testscripts: Remove outdated scripts (ltp-pan) Li Wang
2026-09-04 13:37 ` Jan Stancek via ltp
5 siblings, 0 replies; 8+ messages in thread
From: Petr Vorel @ 2026-09-04 8:55 UTC (permalink / raw)
To: ltp; +Cc: Tim Bird, Steffen Jaeckel, automated-testing
Kirk should now be used.
Fixes: 5e5fd4a1ae ("pan: Remove")
Reported-by: Steffen Jaeckel <sjaeckel@suse.de>
Acked-by: Andrea Cervesato <andrea.cervesato@suse.com>
Acked-by: Avinesh Kumar <avinesh.kumar@suse.com>
Acked-by: Jan Stancek <jstancek@redhat.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Changes v1->v2:
* Remove also remaining ltp-pan comments in other scripts.
testcases/kernel/controllers/cpuctl/run_cpuctl_stress_test.sh | 4 ++--
testcases/kernel/controllers/cpuctl/run_cpuctl_test.sh | 4 ++--
testcases/kernel/controllers/memctl/run_memctl_test.sh | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/testcases/kernel/controllers/cpuctl/run_cpuctl_stress_test.sh b/testcases/kernel/controllers/cpuctl/run_cpuctl_stress_test.sh
index 5b53544cf0..b443451f10 100755
--- a/testcases/kernel/controllers/cpuctl/run_cpuctl_stress_test.sh
+++ b/testcases/kernel/controllers/cpuctl/run_cpuctl_stress_test.sh
@@ -358,7 +358,7 @@ usage ()
echo TASKS FIRED
echo helloworld > myfifo;
- #wait for the tasks to finish for cleanup and status report to pan
+ #wait for the tasks to finish for cleanup and status report
for i in $(seq 1 $TOTAL_TASKS)
do
wait ${PID[$i]};
@@ -377,4 +377,4 @@ usage ()
echo "Please review the results in $LTPROOT/output/cpuctl_results_$FILE.txt"
cleanup;
cd $PWD
- exit 0; #to let PAN reprt success of test
+ exit 0;
diff --git a/testcases/kernel/controllers/cpuctl/run_cpuctl_test.sh b/testcases/kernel/controllers/cpuctl/run_cpuctl_test.sh
index 5b09fb273d..a7bab10625 100755
--- a/testcases/kernel/controllers/cpuctl/run_cpuctl_test.sh
+++ b/testcases/kernel/controllers/cpuctl/run_cpuctl_test.sh
@@ -285,7 +285,7 @@ NUM_CPUS=`tst_ncpus`
echo TASKS FIRED
echo helloworld > myfifo;
- #wait for the tasks to finish for cleanup and status report to pan
+ #wait for the tasks to finish for cleanup and status report
for i in $(seq 1 $TOTAL_TASKS)
do
wait ${PID[$i]};
@@ -304,4 +304,4 @@ NUM_CPUS=`tst_ncpus`
echo "Please review the results in $LTPROOT/output/cpuctl_results_$FILE.txt"
cleanup;
cd $PWD
- exit 0; #to let PAN reprt success of test
+ exit 0;
diff --git a/testcases/kernel/controllers/memctl/run_memctl_test.sh b/testcases/kernel/controllers/memctl/run_memctl_test.sh
index 2e9620f602..c06d1af4fe 100755
--- a/testcases/kernel/controllers/memctl/run_memctl_test.sh
+++ b/testcases/kernel/controllers/memctl/run_memctl_test.sh
@@ -263,4 +263,4 @@ case $TEST_NUM in
echo "Memory Resource Controller test executed successfully.";
cleanup;
cd $PWD
- exit 0; #to let PAN reprt success of test
+ exit 0;
--
2.55.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [LTP] [PATCH v2 0/4] testscripts: Remove outdated scripts (ltp-pan)
2026-09-04 8:55 [LTP] [PATCH v2 0/4] testscripts: Remove outdated scripts (ltp-pan) Petr Vorel
` (3 preceding siblings ...)
2026-09-04 8:55 ` [LTP] [PATCH v2 4/4] controllers: Remove obsolete references to ltp-pan Petr Vorel
@ 2026-09-04 9:34 ` Li Wang
2026-09-04 13:37 ` Jan Stancek via ltp
5 siblings, 0 replies; 8+ messages in thread
From: Li Wang @ 2026-09-04 9:34 UTC (permalink / raw)
To: Petr Vorel; +Cc: Tim Bird, ltp, automated-testing
> Petr Vorel (4):
> Remove testscripts/network.sh
> Remove testscripts/tpm_tools.sh
> Remove testscripts/ltp-aiodio.sh
> controllers: Remove obsolete references to ltp-pan
Reviewed-by: Li Wang <li.wang@linux.dev>
--
Regards,
Li Wang
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [LTP] [PATCH v2 0/4] testscripts: Remove outdated scripts (ltp-pan)
2026-09-04 8:55 [LTP] [PATCH v2 0/4] testscripts: Remove outdated scripts (ltp-pan) Petr Vorel
` (4 preceding siblings ...)
2026-09-04 9:34 ` [LTP] [PATCH v2 0/4] testscripts: Remove outdated scripts (ltp-pan) Li Wang
@ 2026-09-04 13:37 ` Jan Stancek via ltp
5 siblings, 0 replies; 8+ messages in thread
From: Jan Stancek via ltp @ 2026-09-04 13:37 UTC (permalink / raw)
To: Petr Vorel; +Cc: Tim Bird, ltp, automated-testing
On Fri, Sep 4, 2026 at 10:56 AM Petr Vorel <pvorel@suse.cz> wrote:
>
> Changes v1->v2:
> * Address 3x valid complains by agent
> https://lore.kernel.org/ltp/20260903155921.3989-1-linuxtestproject.agent@gmail.com/
> Partly by already merged commits doing cleanup in network doc, partly in
> this patchset.
Acked-by: Jan Stancek <jstancek@redhat.com>
>
> Link to v1:
> https://lore.kernel.org/ltp/20260903124631.1100746-1-pvorel@suse.cz/
> https://patchwork.kernel.org/project/ltp/list/?series=1157101&state=*
>
> Kind regards,
> Petr
>
> Petr Vorel (4):
> Remove testscripts/network.sh
> Remove testscripts/tpm_tools.sh
> Remove testscripts/ltp-aiodio.sh
> controllers: Remove obsolete references to ltp-pan
>
> .../cpuctl/run_cpuctl_stress_test.sh | 4 +-
> .../controllers/cpuctl/run_cpuctl_test.sh | 4 +-
> .../controllers/memctl/run_memctl_test.sh | 2 +-
> testcases/kernel/io/ltp-aiodio/README | 8 -
> testcases/network/README.md | 12 +-
> testscripts/ltp-aiodio.sh | 327 ------------------
> testscripts/network.sh | 118 -------
> testscripts/tpm_tools.sh | 173 ---------
> testscripts/yesenter.txt | 2 -
> 9 files changed, 12 insertions(+), 638 deletions(-)
> delete mode 100755 testscripts/ltp-aiodio.sh
> delete mode 100755 testscripts/network.sh
> delete mode 100755 testscripts/tpm_tools.sh
> delete mode 100644 testscripts/yesenter.txt
>
> --
> 2.55.0
>
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 8+ messages in thread