diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-28 22:18:40 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-28 22:18:40 +0200 |
commit | 6f67f1dfb7f5a8e59d479fe6af01eb267fd83e24 (patch) | |
tree | 897add525154570b62be73ba78da2d9009a0ccdb /udev/lib/test-libudev.c | |
parent | bc8184ede9cff156709fe053e3e02ef309cb2920 (diff) |
libudev: enumerate "subsystem"
Diffstat (limited to 'udev/lib/test-libudev.c')
-rw-r--r-- | udev/lib/test-libudev.c | 7 |
1 files changed, 7 insertions, 0 deletions
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); |