Bug 8145

Summary: ptest: Unable to run bash ./run-ptest
Product: [QA/Testing] Runtime Testing Reporter: Ajay Kumar <ajay.gju>
Component: generalAssignee: Alexandru Georgescu <alexandru.c.georgescu>
Status: VERIFIED FIXED QA Contact: Lucian Musat <georgex.l.musat>
Severity: critical    
Priority: Medium+ CC: ajay.gju, bogdanx.a.voiculescu, ross.burton
Version: 1.8   
Target Milestone: 1.9 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Attachments:
Description Flags
patch attached to fix the issue mentioned in the bug none

Description Ajay Kumar 2015-08-11 09:51:58 UTC
I tried to run on ptest test cases for "bash" and faced below failure messages

root@qemux86:/usr/lib/bash/ptest# ./run-ptest 
/bin/sh: line 0: cd: /home/ajay/Downloads/poky-fido-13.0.0/build/tmp/work/i586-poky-linux/bash/4.3-r1/bash-4.3/tests: No such file or directory
Makefile:879: recipe for target 'runtest' failed
make: *** [runtest] Error 1
root@qemux86:/usr/lib/bash/ptest# vi run-ptest 
root@qemux86:/usr/lib/bash/ptest#


I guess there is some problem with source code and that needs a certain fix.
Comment 1 Ajay Kumar 2015-08-11 10:28:13 UTC
I guess I have Fix for this one and I will post that soon.
Comment 2 Ajay Kumar 2015-08-11 10:51:33 UTC
Created attachment 2660 [details]
patch attached to fix the issue mentioned in the bug

This is the patch to fix this particular problem.
Comment 3 Ross Burton 2015-08-11 11:04:08 UTC
Please send patches to the openembedded-core mailing list with full commit messages.
Comment 4 Ajay Kumar 2015-08-12 07:12:59 UTC
(In reply to comment #3)
> Please send patches to the openembedded-core mailing list with full commit
> messages.

Thanks Ross, patch has been sent to openembedded-core mailing list.
Comment 5 Ajay Kumar 2015-08-17 04:33:48 UTC
patch submitted to openembedded-core 

http://git.openembedded.org/openembedded-core/commit/?id=00d94314679eb4345b5012389aa6252abe871a76 

Hence, marking this as Resolved Fixed !
Comment 6 Lucian Musat 2015-09-08 15:12:34 UTC
Verified on commit: bc6a1a23e3d1af3861288a7abdbc9d5010470204.