File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ impl EmulatedPipe {
174174
175175 // Linux considers a pipe writeable if there is at least PAGE_SIZE (PIPE_BUF)
176176 // remaining space (4096 bytes)
177- return ( self . size - pipe_space) > PAGE_SIZE || self . get_read_ref ( ) == 0 ;
177+ return pipe_space > PAGE_SIZE || self . get_read_ref ( ) == 0 ;
178178 }
179179
180180 /// ### Description
Original file line number Diff line number Diff line change @@ -4549,8 +4549,7 @@ impl Cage {
45494549 // the dashmap.
45504550 drop ( sementry) ;
45514551 // Acquire the semaphore. This operation will block the calling process until
4552- // the
4553- // semaphore becomes available. The`lock` method internally
4552+ // the semaphore becomes available. The`lock` method internally
45544553 // decrements the semaphore value.
45554554 // The lock fun is located in misc.rs
45564555 semaphore. lock ( ) ;
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ mod setup {
3737
3838 //acquiring a lock on TESTMUTEX prevents other tests from running concurrently
3939 let thelock = TESTMUTEX . lock ( ) . unwrap ( ) ;
40-
40+
4141 interface:: RUSTPOSIX_TESTSUITE . store ( true , interface:: RustAtomicOrdering :: Relaxed ) ;
4242
4343 //setup the lind filesystem, creates a clean filesystem for each test
@@ -89,7 +89,7 @@ mod setup {
8989 //return the lock to the caller which holds it till the end of the test.
9090 thelock
9191 }
92-
92+
9393 fn set_panic_hook ( ) {
9494 let orig_hook = std:: panic:: take_hook ( ) ;
9595 std:: panic:: set_hook ( Box :: new ( move |panic_info| {
Original file line number Diff line number Diff line change @@ -1479,6 +1479,7 @@ pub mod net_tests {
14791479 }
14801480
14811481 #[ test]
1482+ #[ ignore]
14821483 pub fn ut_lind_net_select ( ) {
14831484 // test for select monitoring on multiple different file descriptors:
14841485 // 1. regular file
You can’t perform that action at this time.
0 commit comments