+2017-12-05 Florian Weimer <fweimer@redhat.com>
+
+ * support/tst-test_compare.c (subprocess): Use long long instead
+ of long argument for consistent type width across 32-bit and
+ 64-bit architectures.
+ (do_test): Adjust expected output.
+
2017-12-05 Joseph Myers <joseph@codesourcery.com>
* sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
/* These tests should fail. */
TEST_COMPARE (ch, -1); /* Line 28. */
TEST_COMPARE (2LL, -2LL); /* Line 29. */
- TEST_COMPARE (3L, (short) -3); /* Line 30. */
+ TEST_COMPARE (3LL, (short) -3); /* Line 30. */
}
struct bitfield
" right: -2 (0xfffffffffffffffe); from: -2LL\n"
"tst-test_compare.c:30: numeric comparison failure"
" (widths 64 and 32)\n"
- " left: 3 (0x3); from: 3L\n"
+ " left: 3 (0x3); from: 3LL\n"
" right: -3 (0xfffffffd); from: (short) -3\n") == 0);
/* Check that there is no output on standard error. */