In perl.git, the branch jkeenan/132087-has-linkat has been updated <http://perl5.git.perl.org/perl.git/commitdiff/bbbc45751b086c412522d0f6b17d293c5a76d0ee?hp=accfcd59266fdfee371a4c3b0b8934d401c44ba2>
- Log ----------------------------------------------------------------- commit bbbc45751b086c412522d0f6b17d293c5a76d0ee Author: James E Keenan <[email protected]> Date: Thu Sep 14 12:38:13 2017 -0400 Revise tests to account for d_linkat. ----------------------------------------------------------------------- Summary of changes: t/run/switches.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/run/switches.t b/t/run/switches.t index 6725f8fd35..8978b47792 100644 --- a/t/run/switches.t +++ b/t/run/switches.t @@ -468,6 +468,7 @@ __EOF__ skip "Not enough *at functions", 3 unless $Config{d_unlinkat} && $Config{d_renameat} && $Config{d_fchmodat} && ($Config{d_dirfd} || $Config{d_dir_dd_fd}) + && $Config{d_linkat} && $Config{ccflags} !~ /-DNO_USE_ATFUNCTIONS\b/; fresh_perl_is(<<'CODE', "ok\n", { }, @ARGV = ("inplacetmp/foo"); @@ -594,6 +595,7 @@ CODE skip "Testing without *at functions", 1 if $Config{d_unlinkat} && $Config{d_renameat} && $Config{d_fchmodat} && ($Config{d_dirfd} || $Config{d_dir_dd_fd}) + && $Config{d_linkat} && $Config{ccflags} !~ /-DNO_USE_ATFUNCTIONS\b/; fresh_perl_like(<<'CODE', qr/^Cannot complete in-place edit of inplacetmp\/foo: .* - line 5, <> line \d+\./, { }, @ARGV = ("inplacetmp/foo"); -- Perl5 Master Repository
