diff options
author | Brian Fraser <fraserbn@gmail.com> | 2013-04-26 04:16:19 -0300 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2014-01-26 14:44:24 -0300 |
commit | cf348b6035afd609cd9c7dd5c312a0ade3829a8b (patch) | |
tree | f807c60505773e7d378b182263e2526c4fb5d197 /ext | |
parent | 02f178b3ec6512946cf6e11d1305e2e22edb4aa7 (diff) | |
download | perl-cf348b6035afd609cd9c7dd5c312a0ade3829a8b.tar.gz |
ext/POSIX/t/sysconf.t: Skip testing pathconf with _PC_LINK_MAX on android
Diffstat (limited to 'ext')
-rw-r--r-- | ext/POSIX/t/sysconf.t | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/POSIX/t/sysconf.t b/ext/POSIX/t/sysconf.t index ad1e482dc4..f23e0d3b3b 100644 --- a/ext/POSIX/t/sysconf.t +++ b/ext/POSIX/t/sysconf.t @@ -86,8 +86,11 @@ SKIP: { 2 * @path_consts; for my $constant (@path_consts) { - _check_and_report(sub { fpathconf($fd, shift) }, $constant, + SKIP: { + skip "pathconf($constant) hangs on Android", 2 if $constant eq '_PC_LINK_MAX' && $^O =~ /android/; + _check_and_report(sub { fpathconf($fd, shift) }, $constant, "calling fpathconf($fd, $constant)"); + } } POSIX::close($fd); @@ -95,8 +98,11 @@ SKIP: { # testing pathconf() on a non-terminal file for my $constant (@path_consts) { + SKIP: { + skip "pathconf($constant) hangs on Android", 2 if $constant eq '_PC_LINK_MAX' && $^O =~ /android/; _check_and_report(sub { pathconf($testdir, shift) }, $constant, "calling pathconf('$testdir', $constant)"); + } } SKIP: { |