chiark / gitweb /
udevadm: test - handling trailing '/' in devpath
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 18 Mar 2009 17:42:16 +0000 (18:42 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 18 Mar 2009 17:42:16 +0000 (18:42 +0100)
commitf454f6708a1ca439dbe9abd6b9fb660423a71d14
tree83a343121fa293f7bfa0f272ce6e7c2b28ed74fe
parentb25d8cfa93c93fb2b98fdd747777294c787c6619
udevadm: test - handling trailing '/' in devpath

On Wed, Mar 18, 2009 at 16:00, Matthias Schwarzott <zzam@gentoo.org> wrote:
found out how the error occurs:
It is a difference between
A. udevadm test /sys/class/mem/null/
and
B. udevadm test /sys/class/mem/null

Case A was the case that showed the error behaviour. It seems udevadm is
confused by the trailing slash. This behaviour seems to be there since ages.
configure.ac
udev/lib/libudev-device.c
udev/udevadm-test.c