Thread (3 messages) 3 messages, 2 authors, 2012-07-09

[LTP] [PATCH] Add test case path in testcases/kernel/hotplug/cpu_hotplug/runtests.sh

From: Jin Li <hidden>
Date: 2012-07-04 07:53:57
Subsystem: the rest · Maintainer: Linus Torvalds

Fail to invoke cpuhotplug via:

./runltp -f cpuhotplug

<<<test_output>>>
incrementing stop
CPU:        1
LOOPS:      1
LHCS_PATH:  /opt/ltp/testcases/bin/cpu_hotplug
/opt/ltp/testcases/bin/cpu_hotplug/runtests.sh: line 15: functional/hotplug??.sh: No such file or directory

Signed-off-by: Jin Li <redacted>
---
 testcases/kernel/hotplug/cpu_hotplug/runtests.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/testcases/kernel/hotplug/cpu_hotplug/runtests.sh b/testcases/kernel/hotplug/cpu_hotplug/runtests.sh
index 2803508..1943f83 100755
--- a/testcases/kernel/hotplug/cpu_hotplug/runtests.sh
+++ b/testcases/kernel/hotplug/cpu_hotplug/runtests.sh
@@ -11,6 +11,6 @@ echo "LOOPS:      $LOOPS"
 echo "LHCS_PATH:  $LHCS_PATH"
 
 
-for case in functional/hotplug??.sh; do
+for case in $LHCS_PATH/functional/hotplug??.sh; do
 	$case $CPU_TO_TEST
 done
-- 
1.6.0.4


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help