tests/ptrace.c: tweak magic constants to make the test more reliable

* tests/ptrace.c (main): Change bad_request and bad_data to make they
lower 32-bit parts closer to -1U.
This commit is contained in:
Дмитрий Левин 2016-05-13 09:37:10 +00:00
parent 98f632a14c
commit 602998be62

View File

@ -172,9 +172,9 @@ int
main(void)
{
const unsigned long bad_request =
(unsigned long) 0xdeadbeeffacefeed;
(unsigned long) 0xdeadbeeffffffeed;
const unsigned long bad_data =
(unsigned long) 0xdeadcafefacef00d;
(unsigned long) 0xdeadcafefffff00d;
const unsigned long pid =
(unsigned long) 0xdefaced00000000 | (unsigned) getpid();