Bug 8145 - ptest: Unable to run bash ./run-ptest
Summary: ptest: Unable to run bash ./run-ptest
Status: VERIFIED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Medium+ critical
Target Milestone: 1.9 M3
Assignee: Alexandru Georgescu
QA Contact: Lucian Musat
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-08-11 09:51 UTC by Ajay Kumar
Modified: 2015-09-08 15:12 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments
patch attached to fix the issue mentioned in the bug (1.16 KB, patch)
2015-08-11 10:51 UTC, Ajay Kumar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.