Allow unit tests on non-Linux OS
This commit is contained in:
9
cmd/runmqserver/mqconfig_other.go
Normal file
9
cmd/runmqserver/mqconfig_other.go
Normal file
@@ -0,0 +1,9 @@
|
||||
// +build !linux
|
||||
|
||||
package main
|
||||
|
||||
// Dummy version of this function, only for non-Linux systems.
|
||||
// Having this allows unit tests to be run on other platforms (e.g. macOS)
|
||||
func checkFS(path string) {
|
||||
return
|
||||
}
|
||||
Reference in New Issue
Block a user