Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-01 | Update copyright dates with scripts/update-copyrights. | Joseph Myers | |
* All files with FSF copyright notices: Update copyright dates using scripts/update-copyrights. * locale/programs/charmap-kw.h: Regenerated. * locale/programs/locfile-kw.h: Likewise. | |||
2018-01-08 | support: Increase usability of TEST_COMPARE | Florian Weimer | |
The previous implementation of the TEST_COMPARE macro would fail to compile code like this: int ret = res_send (query, sizeof (query), buf, sizeof (buf)); TEST_COMPARE (ret, sizeof (query) + 2 /* Compression reference. */ + 2 + 2 + 4 + 2 /* Type, class, TTL, RDATA length. */ + 1 /* Pascal-style string length. */ + strlen (expected_name)); This resulted in a failed static assertion, "integer conversions may alter sign of operands". A user of the TEST_COMPARE would have to add a cast to fix this. This patch reverts to the original proposed solution of a run-time check, making TEST_COMPARE usable for comparisons of numbers with types with different signedness in more contexts. | |||
2018-01-01 | Update copyright dates with scripts/update-copyrights. | Joseph Myers | |
* All files with FSF copyright notices: Update copyright dates using scripts/update-copyrights. * locale/programs/charmap-kw.h: Regenerated. * locale/programs/locfile-kw.h: Likewise. | |||
2017-12-05 | support/tst-test_compare: Fix 32-bit/64-bit expected output mismatch | Florian Weimer | |
The use of a long type resulted in test output differences between 32-bit and 64-bit architectures, causing the test to fail on 32-bit architectures. | |||
2017-12-04 | support: Add TEST_COMPARE macro | Florian Weimer | |