Skip to contentSkip to conversation

Add test path for cpuhotplug test

LTP In review Jin Li 2 participants 3 messages Jul 4, 2012 – Jul 9, 2012

lore
Share & tools
lore

Jin Li

author
#0 lore raw

Hi,

Fail to invoke cpuhotplug test 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

Add test path for runtests.sh

Regards,

Jin

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

author
#1 lore raw

PATCH 1/1 Add test case path in testcases/kernel/hotplug/cpu_hotplug/runtests.sh

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

---
 testcases/kernel/hotplug/cpu_hotplug/runtests.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
testcases/kernel/hotplug/cpu_hotplug/runtests.sh +1 -1
index 2803508..1943f83 100755
@@ -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
Signature · 13 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#2 lore raw

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

Quoted 11 lines · Jin Li

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

pushed, thank you.

Wanlong Gao

Quoted 11 lines
---
 testcases/kernel/hotplug/cpu_hotplug/runtests.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
testcases/kernel/hotplug/cpu_hotplug/runtests.sh +0 -0
index 2803508..1943f83 100755

testcases/kernel/hotplug/cpu_hotplug/runtests.sh echo "LOOPS: $LOOPS" · line 16

Quoted 7 lines
testcases/kernel/hotplug/cpu_hotplug/runtests.sh +1 -1
@@ -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

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list