]> 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)
committerMasatake YAMATO <yamato@redhat.com>
Mon, 4 Mar 2024 08:34:17 +0000 (17:34 +0900)
commit121b37036cce04f5d6bf590d6eef13ecf8a09265
treecccf065dbb4e72863f896b89a187857f1e24d533
parent67cdedd639f3ea285fe8d1508ad208334760e5cb
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>
tests/expected/lsfd/mkfds-inotify
tests/ts/lsfd/mkfds-inotify