aboutsummaryrefslogtreecommitdiff
path: root/testsuite/cmp.tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cmp: add KMG suffix for cmp -n MAXCOUNTAnubhav Kokane2026-07-031-0/+27
| | | | | | | | | | | | | | | Change input to getopt32 from int to char * so that max_count is parsed as string. Use xatol_sfx to convert string to long. function old new delta cmp_main 595 631 +36 .rodata 107121 107120 -1 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 36/-1) Total: 35 bytes Signed-off-by: Anubhav Kokane <dev.anubhavk@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cmp: fix -n causing all diffs to be output, implement size suffixes for SKIPDenys Vlasenko2026-01-181-0/+54
function old new delta packed_usage 35802 35828 +26 cmp_main 616 595 -21 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 26/-21) Total: 5 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>