Signed-Off-By: Subrata Modak <[email protected]>,
--
--- ltp-intermediate-20081223/README.orig       2008-12-23 20:54:53.000000000
+0530
+++ ltp-intermediate-20081223/README    2008-12-23 20:55:52.000000000 +0530
@@ -233,4 +233,23 @@ You need to have a video device (i.e. we
 The tests also require CUnit Framework to be installed before compiling
the tests. Download & Install the same from:
 http://sourceforge.net/projects/cunit/
 ---------------------------------
+Enabling HOTPLUG for your Kernels
+---------------------------------
+CONFIG_HOTPLUG=y
+CONFIG_HOTPLUG_CPU=y
+CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
+CONFIG_ACPI_HOTPLUG_CPU=y
+CONFIG_HOTPLUG_PCI_PCIE=y
+CONFIG_HOTPLUG_PCI=y
+CONFIG_HOTPLUG_PCI_FAKE=y
+CONFIG_HOTPLUG_PCI_COMPAQ=y
+CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM=y
+CONFIG_HOTPLUG_PCI_IBM=y
+CONFIG_HOTPLUG_PCI_ACPI=y
+CONFIG_HOTPLUG_PCI_ACPI_IBM=y
+CONFIG_HOTPLUG_PCI_CPCI=y
+CONFIG_HOTPLUG_PCI_CPCI_ZT5550=y
+CONFIG_HOTPLUG_PCI_CPCI_GENERIC=y
+CONFIG_HOTPLUG_PCI_SHPC=y
+---------------------------------
 ---------------------------------
--- ltp-intermediate-20081223/runalltests.sh.orig       2008-12-23
20:52:21.000000000 +0530
+++ ltp-intermediate-20081223/runalltests.sh    2008-12-23
20:54:37.000000000 +0530
@@ -75,6 +75,9 @@ export RUN_STRESS_FLOPPY=0
 ## Make sure you have CD inserted in your CD-ROM drive,
 export RUN_STRESS_CD=0
 
+##Set this to 1 if you wish to runthe CPUHOTPLUG tests
+export RUN_CPU_HOTPLUG=0
+
 export LTP_VERSION=`./runltp -e`
 export TEST_START_TIME=`date +"%Y_%b_%d-%Hh_%Mm_%Ss"`
 export HARDWARE_TYPE=$(uname -i)
@@ -248,3 +251,11 @@ then
 fi
 ## END => Test Series 10                               ##
 
+## The next one i plan to run is CPUHOTPLUG tests
+## START => Test Series 11                             ##
+if [ $RUN_CPU_HOTPLUG -eq 1 ]
+then
+./runltp -f cpuhotplug
+fi
+## END => Test Series 11                               ##
+
diff -uprN ltp-intermediate-20081223/runtest.orig/cpuhotplug
ltp-intermediate-20081223/runtest/cpuhotplug
--- ltp-intermediate-20081223/runtest.orig/cpuhotplug   1970-01-01
05:30:00.000000000 +0530
+++ ltp-intermediate-20081223/runtest/cpuhotplug        2008-12-23
20:51:56.000000000 +0530
@@ -0,0 +1,3 @@
+## Run the CPUHOTPLUG tests here
+
+CPUHOTPLUG (cd
$LTPROOT/testcases/kernel/hotplug/cpu_hotplug/; ./runtests.sh)


Regards--
Subrata

--- ltp-intermediate-20081223/README.orig	2008-12-23 20:54:53.000000000 +0530
+++ ltp-intermediate-20081223/README	2008-12-23 20:55:52.000000000 +0530
@@ -233,4 +233,23 @@ You need to have a video device (i.e. we
 The tests also require CUnit Framework to be installed before compiling the tests. Download & Install the same from:
 http://sourceforge.net/projects/cunit/
 ---------------------------------
+Enabling HOTPLUG for your Kernels
+---------------------------------
+CONFIG_HOTPLUG=y
+CONFIG_HOTPLUG_CPU=y
+CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
+CONFIG_ACPI_HOTPLUG_CPU=y
+CONFIG_HOTPLUG_PCI_PCIE=y
+CONFIG_HOTPLUG_PCI=y
+CONFIG_HOTPLUG_PCI_FAKE=y
+CONFIG_HOTPLUG_PCI_COMPAQ=y
+CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM=y
+CONFIG_HOTPLUG_PCI_IBM=y
+CONFIG_HOTPLUG_PCI_ACPI=y
+CONFIG_HOTPLUG_PCI_ACPI_IBM=y
+CONFIG_HOTPLUG_PCI_CPCI=y
+CONFIG_HOTPLUG_PCI_CPCI_ZT5550=y
+CONFIG_HOTPLUG_PCI_CPCI_GENERIC=y
+CONFIG_HOTPLUG_PCI_SHPC=y
+---------------------------------
 ---------------------------------
--- ltp-intermediate-20081223/runalltests.sh.orig	2008-12-23 20:52:21.000000000 +0530
+++ ltp-intermediate-20081223/runalltests.sh	2008-12-23 20:54:37.000000000 +0530
@@ -75,6 +75,9 @@ export RUN_STRESS_FLOPPY=0
 ## Make sure you have CD inserted in your CD-ROM drive,
 export RUN_STRESS_CD=0
 
+##Set this to 1 if you wish to runthe CPUHOTPLUG tests
+export RUN_CPU_HOTPLUG=0
+
 export LTP_VERSION=`./runltp -e`
 export TEST_START_TIME=`date +"%Y_%b_%d-%Hh_%Mm_%Ss"`
 export HARDWARE_TYPE=$(uname -i)
@@ -248,3 +251,11 @@ then
 fi
 ## END => Test Series 10                               ##
 
+## The next one i plan to run is CPUHOTPLUG tests
+## START => Test Series 11                             ##
+if [ $RUN_CPU_HOTPLUG -eq 1 ]
+then
+./runltp -f cpuhotplug
+fi
+## END => Test Series 11                               ##
+
diff -uprN ltp-intermediate-20081223/runtest.orig/cpuhotplug ltp-intermediate-20081223/runtest/cpuhotplug
--- ltp-intermediate-20081223/runtest.orig/cpuhotplug	1970-01-01 05:30:00.000000000 +0530
+++ ltp-intermediate-20081223/runtest/cpuhotplug	2008-12-23 20:51:56.000000000 +0530
@@ -0,0 +1,3 @@
+## Run the CPUHOTPLUG tests here
+
+CPUHOTPLUG (cd $LTPROOT/testcases/kernel/hotplug/cpu_hotplug/; ./runtests.sh)
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to