]> git.ipfire.org Git - pakfire.git/commit
tests: Only negative return values are considered unsuccessful
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 25 Mar 2025 11:26:15 +0000 (11:26 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 25 Mar 2025 11:26:15 +0000 (11:26 +0000)
commit78ccc24c8e000ddc8eea25c053ef2a0d746892f8
tree88313fab45f44eb3629a41d4a24c763fba2d1e39
parent5786d1a3110f722a1a8116ec2fe0f4a42cf7a73b
tests: Only negative return values are considered unsuccessful

Sometimes we want to return the length of consumed input, so this should
all be considered successful.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/testsuite.h