mirror of
https://github.com/systemd/systemd.git
synced 2024-12-26 03:22:00 +03:00
test-fd-util: add assert_se to make coverity happy
This commit is contained in:
parent
b0fe73d740
commit
ca9b2b4dc1
@ -104,7 +104,7 @@ static void test_open_serialization_fd(void) {
|
||||
fd = open_serialization_fd("test");
|
||||
assert_se(fd >= 0);
|
||||
|
||||
write(fd, "test\n", 5);
|
||||
assert_se(write(fd, "test\n", 5) == 5);
|
||||
}
|
||||
|
||||
static void test_acquire_data_fd_one(unsigned flags) {
|
||||
|
Loading…
Reference in New Issue
Block a user