From 6f67f1dfb7f5a8e59d479fe6af01eb267fd83e24 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 28 Sep 2008 22:18:40 +0200 Subject: libudev: enumerate "subsystem" --- udev/lib/test-libudev.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'udev/lib/test-libudev.c') diff --git a/udev/lib/test-libudev.c b/udev/lib/test-libudev.c index 0f485248e8..8ef7a6e3bd 100644 --- a/udev/lib/test-libudev.c +++ b/udev/lib/test-libudev.c @@ -333,6 +333,13 @@ int main(int argc, char *argv[], char *envp[]) test_enumerate_print_list(enumerate); udev_enumerate_unref(enumerate); + printf("enumerate 'subsystem'\n"); + enumerate = udev_enumerate_new_from_subsystems(udev); + if (enumerate == NULL) + return -1; + test_enumerate_print_list(enumerate); + udev_enumerate_unref(enumerate); + test_monitor(udev, socket); out: udev_unref(udev); -- cgit v1.2.3-54-g00ecf