pkgsi686Linux.libredirect: do no fail on 64-bit inodes

Without the change `pkgsi686Linux.libredirect` tests
fail on `btrfs` where inodes are outside 32-bit range:

$ nix build --no-link -f. -L pkgsi686Linux.libredirect
...
libredirect> test: test.c:95: main: Assertion `stat(TESTPATH, &testsb) != -1' failed.

As libredirect` intends to test 32-bit syscall
interface let's just skip the overflows.

+6 -2
+6 -2
pkgs/by-name/li/libredirect/test.c
··· 92 92 93 93 assert(access(TESTPATH, X_OK) == 0); 94 94 95 - assert(stat(TESTPATH, &testsb) != -1); 95 + // On EOVERFLOW checks below: when TESTPATH lands on a filesystem 96 + // that requires 64-bit inode values (like btrfs used for a while) 97 + // it will fail on 32-bit systems. 98 + 99 + assert(stat(TESTPATH, &testsb) != -1 || errno == EOVERFLOW); 96 100 #ifdef __GLIBC__ 97 101 assert(stat64(TESTPATH, &testsb64) != -1); 98 102 #endif 99 - assert(fstatat(123, TESTPATH, &testsb, 0) != -1); 103 + assert(fstatat(123, TESTPATH, &testsb, 0) != -1 || errno == EOVERFLOW); 100 104 #ifdef __GLIBC__ 101 105 assert(fstatat64(123, TESTPATH, &testsb64, 0) != -1); 102 106 #endif