-
Notifications
You must be signed in to change notification settings - Fork 542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nshlib/cmd_wait: Wait failed if FS_PROCFS
not enabled
#2848
nshlib/cmd_wait: Wait failed if FS_PROCFS
not enabled
#2848
Conversation
5663298
to
36700dd
Compare
[Experimental Bot, please feedback here] Yes, this PR appears to meet the NuttX requirements, although the provided information is minimal. Here's a breakdown of why and what could be improved: Strengths:
Weaknesses & Areas for Improvement:
In short, while the core information is present, this PR description needs more detail and completeness to meet the NuttX standards fully. Filling in the missing information will significantly improve the review process and the overall quality of the contribution. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @JianyuWang0623 :-)
Please remove CONFIG_NSH_DISABLE_WAIT from boards/arm/mps/mps3-an547/configs/ap/defconfig:
|
More details please see apache/nuttx-apps#2848 Signed-off-by: wangjianyu3 <[email protected]>
Get, done, thank you, please review: apache/nuttx#14776 |
More details please see apache/nuttx-apps#2848 Signed-off-by: wangjianyu3 <[email protected]>
It seems that the CI not running with the latest apache/master even if it was triggered after apache/nuttx#14776 was merged.
|
try |
Env sim:nsh - CONFIG_FS_PROCFS_EXCLUDE_PROCES=y Error nsh> sleep 5 & sh [4:100] nsh> wait 4 nsh: wait: wait failed: 2 cmd_wait(): snprintf(path, sizeof(path), "/proc/%d/status", tid); Signed-off-by: wangjianyu3 <[email protected]>
36700dd
to
b4375fd
Compare
Summary
Wait failed if
FS_PROCFS
not enabledEnv
Error
cmd_wait()
Reported by @XuNeo and @Gary-Hobson, thank you;-)
Impact
nshlib/cmd_wait
Testing
sim:nsh
withCONFIG_FS_PROCFS
disabled - PASSED