Opened 2 years ago

Last modified 2 years ago

#57832 assigned defect

perl5.28: failed tests (not inherited across exec at ./test.pl line 1062)

Reported by: mojca (Mojca Miklavec) Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: dbevans (David B. Evans)
Port: perl5.28

Description

Some tests for perl5.28 seem to fail (tested on 10.13, APFS, with trace mode):

t/io/open ...................................................... # Failed test 2 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 13 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 18 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 23 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 30 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 37 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 41 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 53 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 63 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 68 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 73 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 78 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 85 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 89 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 97 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 101 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 105 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 109 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 113 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 116 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=176") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 118 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=176") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 120 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=176") ? 1 : 0, "\n";
# 	
# STATUS: 0
# Failed test 124 - not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	    print open(F, "+<&=175") ? 1 : 0, "\n";
# 	
# STATUS: 0
FAILED at test 2
t/io/openpid ................................................... ok
t/io/perlio .................................................... ok
t/io/perlio_fail ............................................... ok
t/io/perlio_leaks .............................................. ok
t/io/perlio_open ............................................... ok
t/io/pipe ...................................................... # Failed test 11 - pipe endpoints not inherited across exec at ./test.pl line 1062
#      got "1\n1"
# expected "0\n0"
# PROG: 
# 
# 	print open(F, "<&=175") ? 1 : 0, "\n";
# 	print open(F, ">&=176") ? 1 : 0, "\n";
#     
# STATUS: 0
FAILED at test 11
t/io/print ..................................................... ok
t/io/pvbm ...................................................... ok
t/io/read ...................................................... ok
t/io/say ....................................................... ok
t/io/sem ....................................................... ok
t/io/semctl .................................................... ok
t/io/shm ....................................................... ok
t/io/socket .................................................... # Failed test 17 - fresh socket not inherited across exec at ./test.pl line 1062
#      got "1"
# expected "0"
# PROG: 
# 
# 	print open(F, "+<&=175") ? 1 : 0, "\n";
#     
# STATUS: 0
FAILED at test 17
t/io/socketpair ................................................ # Failed test 8 - sockets not inherited across exec at ./test.pl line 1062
#      got "1\n1"
# expected "0\n0"
# PROG: 
# 
# 	print open(F, "+<&=175") ? 1 : 0, "\n";
# 	print open(F, "+<&=176") ? 1 : 0, "\n";
#     
# STATUS: 0
FAILED at test 8

It could also be that we simply cannot perform these tests under trace mode ...

Change History (1)

comment:1 Changed 2 years ago by mojca (Mojca Miklavec)

In total:

Failed 5 tests out of 2542, 99.80% okay.
	../dist/PathTools/t/cwd.t
	io/open.t
	io/pipe.t
	io/socket.t
	io/socketpair.t
Note: See TracTickets for help on using tickets.