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:
parent
2363259435
commit
44cfdd7e3c
|
@ -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
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <sys/stat.h>
|
||||
|
||||
|
||||
#if __i386__
|
||||
#if __i386__ || __arm__
|
||||
#define stat xstat
|
||||
|
||||
struct stat
|
||||
|
|
Loading…
Reference in New Issue