python3-inotify: fix tests

Some tests in test-inotify.py assume values for watch
descriptors.  This is not safe, so we retrieve the
assigned values to compare with event information generated.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0efa5c872f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Joe Slater
2023-10-02 12:07:49 -07:00
committed by Armin Kuster
parent 513d4afd25
commit d09595e7ac
2 changed files with 621 additions and 0 deletions
@@ -8,6 +8,7 @@ SRC_URI[sha256sum] = "974a623a338482b62e16d4eb705fb863ed33ec178680fc3e96ccdf0df6
SRC_URI = " \
git://github.com/dsoprea/pyinotify.git;branch=master;protocol=https \
file://new-test-inotify.patch \
file://run-ptest \
"