summaryrefslogtreecommitdiff
path: root/t/cppcheck
AgeCommit message (Collapse)AuthorFilesLines
2019-10-30test: Suppress new bogus cppcheck 1.89 false positivesGuillem Jover1-0/+13
Warned-by: cppcheck
2019-10-30test: Clarify cppcheck va_list_usedBeforeStarted suppressionGuillem Jover1-1/+1
This is actually due to our local va_copy() compatibility code, which cppcheck does not understand. Using the same code w/o the local macro does not emit the false positive.
2019-02-23dpkg: Simplify maintscript_set_exec_context()Guillem Jover1-4/+0
We do not really need to normalize the return code, which was confusing the cppcheck for which we required a supression.
2019-01-22test: Update cppcheck supressionsGuillem Jover1-5/+20
Supress false positives and intended code usage.
2018-10-08dpkg: Fix --force-not-rootGuillem Jover1-1/+1
Ignore EPERM for chown and chmod based syscalls. And give a more meaningful error message on chroot(). Closes: #614126
2018-09-26test: Change cppcheck test to cope with CPAN distribution pathsGuillem Jover1-1/+1
The paths are different in the CPAN distribution, so we need to use a glob to catch the file in both layouts.
2018-08-01test: Add new cppcheck integration author testGuillem Jover1-0/+43