mirror of
https://github.com/genuinetools/reg.git
synced 2024-07-07 05:24:17 -04:00
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")
|
|
}
|