chiark / gitweb /
bus: test - re-enable check for returned error
authorKay Sievers <kay@vrfy.org>
Fri, 12 Apr 2013 18:32:19 +0000 (20:32 +0200)
committerKay Sievers <kay@vrfy.org>
Fri, 12 Apr 2013 18:32:19 +0000 (20:32 +0200)
src/libsystemd-bus/test-bus-kernel.c

index 14029ff..e84e45a 100644 (file)
@@ -92,7 +92,7 @@ int main(int argc, char *argv[]) {
         assert_se(r >= 0);
 
         r = sd_bus_release_name(a, "net.0pointer.foobar");
-        assert_se(r >= 0);
+        assert_se(r == -ENXIO);
 
         sd_bus_unref(a);
         sd_bus_unref(b);