Signed-off-by: poornima nayak <[email protected]>

diff -uprN
ltp-full-20090228_orig/testcases/kernel/power_management/Makefile
ltp-full-20090228/testcases/kernel/power_management/Makefile
--- ltp-full-20090228_orig/testcases/kernel/power_management/Makefile
2009-03-04 16:29:41.000000000 -0600
+++ ltp-full-20090228/testcases/kernel/power_management/Makefile
2009-03-04 17:24:00.000000000 -0600
@@ -42,6 +42,7 @@ install:
        ln -f  config_sched_mc ../../bin/config_sched_mc;
        ln -f
check_cpuidle_sysfs_files.sh ../../bin/check_cpuidle_sysfs_files.sh;
        ln -f  cpu_consolidation.py ../../bin/cpu_consolidation.py
+       ln -f  sched_domain.py ../../bin/sched_domain.py
        chmod ugo+x *.sh
 clean:
        @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i $@ ; done
diff -uprN
ltp-full-20090228_orig/testcases/kernel/power_management/runpwtests.sh
ltp-full-20090228/testcases/kernel/power_management/runpwtests.sh
---
ltp-full-20090228_orig/testcases/kernel/power_management/runpwtests.sh
2009-03-04 16:29:41.000000000 -0600
+++ ltp-full-20090228/testcases/kernel/power_management/runpwtests.sh
2009-03-04 17:24:09.000000000 -0600
@@ -73,6 +73,15 @@ if [ -f /sys/devices/system/cpu/sched_mc
                else
                tst_resm TPASS "cpu consolidation test for sched_mc_power set
to 1"
                fi
+        # Validate CPU level sched domain topology validation
+        sched_domain.py || RC=$?
+        if [ $RC -eq 1 ] ; then
+            tst_resm TFAIL "sched domain topology validation test
failed"
+        else    
+            tst_resm TPASS "sched domain topology validation test
passed"
+        fi      
+
+        
        fi
 else
        tst_resm TCONF "Required kernel configuration for SCHED_MC NOT set"
@@ -114,3 +123,4 @@ check_cpuidle_sysfs_files.sh || RC=$?
 if [ $RC -eq 1 ] ; then
        tst_resm TFAIL "CPUIDLE sysfs tests failed"
 fi
+


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to