Skip to contentSkip to conversation

test_controllers: remove outdated blockio test

PATCH In review Li Wang via ltp 2 participants 3 messages May 27, 2025 – May 28, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test_controllers: remove outdated blockio test

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")

---
 testcases/kernel/controllers/test_controllers.sh | 11 -----------
 1 file changed, 11 deletions(-)
testcases/kernel/controllers/test_controllers.sh +0 -11
index 7df3b468c..774feef3f 100755
@@ -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"
Signature · 5 lines
2.49.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp