summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-04-12 20:32:19 +0200
committerKay Sievers <kay@vrfy.org>2013-04-12 20:32:19 +0200
commite74d860ccbe118a9b32dc6d900a5fcdd7d355c03 (patch)
treeee4402091aa485ba0ed798ab9ae1221df89a5110
parent8e7382422c01dc0c19dc3c35a6144fa703ba34ee (diff)
bus: test - re-enable check for returned error
-rw-r--r--src/libsystemd-bus/test-bus-kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/test-bus-kernel.c b/src/libsystemd-bus/test-bus-kernel.c
index 14029ff561..e84e45ad2b 100644
--- a/src/libsystemd-bus/test-bus-kernel.c
+++ b/src/libsystemd-bus/test-bus-kernel.c
@@ -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);