]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: (lsfd::mkfds-inotify) consider environments not having / as a mount point
authorMasatake YAMATO <yamato@redhat.com>
Sat, 2 Mar 2024 21:51:15 +0000 (06:51 +0900)
committerKarel Zak <kzak@redhat.com>
Mon, 4 Mar 2024 11:40:19 +0000 (12:40 +0100)
commit4069411ca37b2769b0e39dae749a5875e50fc422
tree22532c3130d982f6c56a490aae5ad64c3b5a1c4c
parent53d14ef4e3b80147900dd038c1aefe3f9c4135a8
tests: (lsfd::mkfds-inotify) consider environments not having / as a mount point

Close #2819.

In the original test case, test_mkfds monitored / and /etc/fstab.

As reported in #2819, if a test platform doesn't have / as a
mount point, the test case doesn't work.

So we use /proc and /proc/cmdnline instead.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Acked-by: Chris Hofstaedtler <zeha@debian.org>
(cherry picked from commit 121b37036cce04f5d6bf590d6eef13ecf8a09265)
tests/expected/lsfd/mkfds-inotify
tests/ts/lsfd/mkfds-inotify