File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ TEST_F(SocketTest, DomainSocketFromBoundNativeSocket) {
351351
352352 // Skip the test if the $TMPDIR is too long to hold a domain socket.
353353 if (name.size () > 107u )
354- return ;
354+ GTEST_SKIP () << " $TMPDIR is too long to hold a domain socket " ;
355355
356356 DomainSocket socket (true );
357357 Status error = socket.Listen (name, /* backlog=*/ 10 );
@@ -376,7 +376,7 @@ TEST_F(SocketTest, AbstractSocketFromBoundNativeSocket) {
376376
377377 // Skip the test if the $TMPDIR is too long to hold a domain socket.
378378 if (name.size () > 107u )
379- return ;
379+ GTEST_SKIP () << " $TMPDIR is too long to hold a domain socket " ;
380380
381381 AbstractSocket socket;
382382 Status error = socket.Listen (name, /* backlog=*/ 10 );
You can’t perform that action at this time.
0 commit comments