On Fri, Jan 30, 2015 at 08:12:54AM +1000, Peter Hutterer wrote: > Hi, > > I need some sort of way of assigning udev properties on the fly to a device, > but I'm short of ideas how to do this sensibly. > > Because of uinput, the test suite runs as root. One solution would be to > drop a custom test rule, reload, create the uinput device, run the test, > rm the rule again. Not pretty though, I was hoping there was something > nicer. > > Any ideas?
Have you seen umockdev? https://github.com/martinpitt/umockdev/ -- Tomasz Torcz ,,(...) today's high-end is tomorrow's embedded processor.'' xmpp: [email protected] -- Mitchell Blank on LKML _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
