test: fix a copy-and-paste error
Follow-up for 12727c2bc2.
Addresses https://github.com/systemd/systemd/pull/22125#discussion_r786358474.
Fixes CID#1469023.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
e91aa2ea23
commit
f67b4351f3
@@ -333,7 +333,7 @@ TEST_RET(copy_holes) {
|
||||
assert_se(fd >= 0);
|
||||
|
||||
fd_copy = mkostemp_safe(fn_copy);
|
||||
assert_se(fd >= 0);
|
||||
assert_se(fd_copy >= 0);
|
||||
|
||||
r = RET_NERRNO(fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, 0, 1));
|
||||
if (ERRNO_IS_NOT_SUPPORTED(r))
|
||||
|
||||
Reference in New Issue
Block a user