1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-31 16:21:11 +03:00
systemd-stable/test/sys
kay.sievers@vrfy.org d5f91372dd [PATCH] conditional remove of trailing sysfs whitespace
Hey, it may never happen, that one wants to distinguish attributes by
trailing spaces, but we should not lose the control over it, just for
being lazy :)

Here we remove the trailing spaces of the sysfs attribute only if the
configured value to match doesn't have any trailing spaces by itself.
So if you put a attribute in a rule with spaces at the end, the sysfs
attribute _must_ match exactly.

Is that cool for everyone?

As usual, 2 tests are added for it with a artificial sysfs file and
a few words to the man page.
2005-04-26 21:35:08 -07:00
..
block [PATCH] add a block device with a ! in the name, and a test for this. 2005-04-26 21:32:26 -07:00
class [PATCH] add more sysfs test tree files. 2005-04-26 21:06:23 -07:00
devices/pci0000:00 [PATCH] conditional remove of trailing sysfs whitespace 2005-04-26 21:35:08 -07:00