chiark / gitweb /
tests: add test-path
[elogind.git] / src / test / test-libudev.c
index 912b61396a34557b94d97069ccd34f74693d759f..a51814df95f99d3e202ecdd2be626012b1bb91cf 100644 (file)
@@ -25,7 +25,6 @@
 #include <errno.h>
 #include <string.h>
 #include <getopt.h>
-#include <syslog.h>
 #include <fcntl.h>
 #include <sys/epoll.h>
 
@@ -408,7 +407,7 @@ static void test_hwdb(struct udev *udev, const char *modalias) {
         printf("\n");
 
         hwdb = udev_hwdb_unref(hwdb);
-        assert(hwdb == NULL);
+        assert_se(hwdb == NULL);
 }
 
 int main(int argc, char *argv[]) {