[LTP] [PATCH] test_controllers: remove outdated blockio test
Li Wang
liwang@redhat.com
Tue May 27 07:28:55 CEST 2025
The run_io_throttle_test.sh is not exist any more, so let's drop it from
test_controllers file.
Follow-up: commit 7ca7749b54 ("test_controllers: Remove cpuacct")
Signed-off-by: Li Wang <liwang@redhat.com>
Reviewed-by: Petr Vorel <pvorel@suse.cz>
---
testcases/kernel/controllers/test_controllers.sh | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/testcases/kernel/controllers/test_controllers.sh b/testcases/kernel/controllers/test_controllers.sh
index 7df3b468c..774feef3f 100755
--- a/testcases/kernel/controllers/test_controllers.sh
+++ b/testcases/kernel/controllers/test_controllers.sh
@@ -48,8 +48,6 @@ then
CPU_CONTROLLER_VALUE=`grep -w cpu /proc/cgroups | cut -f4`;
MEM_CONTROLLER=`grep -w memory /proc/cgroups | cut -f1`;
MEM_CONTROLLER_VALUE=`grep -w memory /proc/cgroups | cut -f4`;
- IOTHROTTLE_CONTROLLER=`grep -w blockio /proc/cgroups | cut -f1`;
- IOTHROTTLE_CONTROLLER_VALUE=`grep -w blockio /proc/cgroups | cut -f4`;
FREEZER=`grep -w freezer /proc/cgroups | cut -f1`;
FREEZER_VALUE=`grep -w freezer /proc/cgroups | cut -f4`;
@@ -85,15 +83,6 @@ then
echo "Skipping all memory controller testcases....";
fi
- if [ "$IOTHROTTLE_CONTROLLER" = "blockio" ] && [ "$IOTHROTTLE_CONTROLLER_VALUE" = "1" ]
- then
- $LTPROOT/testcases/bin/run_io_throttle_test.sh;
- else
- echo "CONTROLLERS TESTCASES: WARNING";
- echo "Either Kernel does not support for io controller or functionality is not enabled";
- echo "Skipping all block device I/O throttling testcases....";
- fi
-
if [ "$FREEZER" = "freezer" ] && [ "$FREEZER_VALUE" = "1" ]
then
"$LTPROOT/testcases/bin/run_freezer.sh"
--
2.49.0
More information about the ltp
mailing list