12 lines
158 B
Go
12 lines
158 B
Go
|
package testutil
|
||
|
|
||
|
import (
|
||
|
"flag"
|
||
|
)
|
||
|
|
||
|
var rootEnabled bool
|
||
|
|
||
|
func init() {
|
||
|
flag.BoolVar(&rootEnabled, "test.root", false, "enable tests that require root")
|
||
|
}
|