The run-ptest script determines success by grepping for
"0 failed" in the test output. This could incorrectly
report success for cases like "10 failed" or "100 failed".
Update the script to rely on the test binary's exit status instead,
while still capturing and printing full test output for logging.
This makes the ptest behavior more robust and consistent
Signed-off-by: Nikhil R <nikhil.r@bmwtechworks.in>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add ptest support for inotify-tools by introducing a run-ptest script.
The ptest verifies the correct functioning of inotify event handling
and related utilities.
Test coverage includes:
- File creation, modification, and deletion event monitoring
- Event handling and command-line option parsing
- Basic consistency and behavior of inotify event queues
The ptest completes in under 20 seconds
Signed-off-by: Nikhil R <nikhil.r@bmwtechworks.in>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.
I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
No longer used in generating packages
Also creates a possible confusion with the recipe maintainer
name.
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-libinotifytools-Include-limit.h-for-PATH_MAX.patch
removed since it's included in 3.22.1.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changes
e268888...8f8fcdf
Fixes build errors
/usr/include/bits/stdlib.h:46:12: e3.21.9.6rror: call to '__realpath_chk_warn' declared with attribute warning: second argument of realpath must be either NULL or at least PATH_MAX bytes long buffer [-Werror=attribute-warning]
| 46 | return __realpath_chk_warn (__name, __resolved, sz);
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| cc1: all warnings being treated as errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is the result of automated script (0.9.1) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
- Drop patch (already in version)
This includes the following changes:
98e8dfa inotify-tools 3.20.11.0
583492a Allow produce NULL-delimited output (#118)
e38d78e Resolves Issue #72 (#113)
8672a5e User $(id -u) over $USER
e5f4ec6 Create FUNDING.yml
8967735 Add integration test to test if chown is tracked successfully
e114a35 Only call git clean -fdx if specified
933dea5 Update issue templates
6644476 Create CODE_OF_CONDUCT.md
c03dcfc Added -P/--no-dereference to watch a symlink (#46)
aa125f5 Use localtime_r over localtime
d222aa9 Fix some issues pointed out by lgtm
69829a8 cirrus-ci: disable the FreeBSD 13 builds
c164cfd Add status for FreeBSD
1b06e96 Stop running unit tests on FreeBSD
7ddf451 Makefile.am: add build rule for README (#111)
67b6e71 Add arm64 build
Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The correct value should be the same as defined in
linux/arch/mips/include/uapi/asm/unistd.h
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
inotify-tools is a C library and a set of command-line programs for Linux
providing a simple interface to inotify.
Signed-off-by: Andrea Galbusera <gizero@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>