From: Brian Fraser Date: Fri, 26 Apr 2013 07:16:19 +0000 (-0300) Subject: ext/POSIX/t/sysconf.t: Skip testing pathconf with _PC_LINK_MAX on android X-Git-Tag: upstream/5.20.0~614^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cf348b6035afd609cd9c7dd5c312a0ade3829a8b;p=platform%2Fupstream%2Fperl.git ext/POSIX/t/sysconf.t: Skip testing pathconf with _PC_LINK_MAX on android --- diff --git a/ext/POSIX/t/sysconf.t b/ext/POSIX/t/sysconf.t index ad1e482..f23e0d3 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: {