marlam / msmtp

SMTP client with sendmail compatible interface
https://marlam.de/msmtp
GNU General Public License v3.0
176 stars 36 forks source link

tests: Use 'cmp -s' in test-header-handling.sh #169

Closed dcantrell closed 1 month ago

dcantrell commented 1 month ago

The -s option on cmp(1) is compatible across BSD and Linux systems. The --quiet option is specific to GNU cmp.

marlam commented 1 month ago

Thank you! I looked here and found that --quiet is supported at least on FreeBSD, but I can live with -s too.

dcantrell commented 1 month ago

Yeah, it is supported on FreeBSD but not on OpenBSD nor NetBSD. -s is at least common across all platforms.

Thanks for merging it.