ARM: Fix stat test.

* build-aux/test-c.sh: Increase test timeout to 20 s.
* lib/tests/io/90-stat.c: Add __arm__ case for stat structure.
This commit is contained in:
Danny Milosavljevic 2019-03-12 12:38:43 +01:00 committed by Jan Nieuwenhuizen
parent 2363259435
commit 44cfdd7e3c
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ $CC -c $CPPFLAGS $CFLAGS -o "$o".o "$t"
$CC $CFLAGS $LDFLAGS -L . -o "$o" $crt1 "$o".o $LIBS
set +e
timeout 10 "$o" -s --long file0 file1 > "$o".1 2> "$o".2
timeout 20 "$o" -s --long file0 file1 > "$o".1 2> "$o".2
r=$?
set -e
if [ -f "$b".exit ]; then

View File

@ -26,7 +26,7 @@
#include <sys/stat.h>
#if __i386__
#if __i386__ || __arm__
#define stat xstat
struct stat