mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	Windows CI: test-unit for pkg\filenotify
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
		
							parent
							
								
									5ca6d3bafd
								
							
						
					
					
						commit
						28ee6fe7ca
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -4,6 +4,7 @@ import (
 | 
				
			||||||
	"fmt"
 | 
						"fmt"
 | 
				
			||||||
	"io/ioutil"
 | 
						"io/ioutil"
 | 
				
			||||||
	"os"
 | 
						"os"
 | 
				
			||||||
 | 
						"runtime"
 | 
				
			||||||
	"testing"
 | 
						"testing"
 | 
				
			||||||
	"time"
 | 
						"time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -36,6 +37,9 @@ func TestPollerAddRemove(t *testing.T) {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func TestPollerEvent(t *testing.T) {
 | 
					func TestPollerEvent(t *testing.T) {
 | 
				
			||||||
 | 
						if runtime.GOOS == "windows" {
 | 
				
			||||||
 | 
							t.Skip("No chmod on Windows")
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
	w := NewPollingWatcher()
 | 
						w := NewPollingWatcher()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	f, err := ioutil.TempFile("", "test-poller")
 | 
						f, err := ioutil.TempFile("", "test-poller")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue