mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-28 20:06:19 -04:00
ab6c553e6b
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
11 lines
158 B
Go
11 lines
158 B
Go
package testutil
|
|
|
|
import (
|
|
"flag"
|
|
)
|
|
|
|
var rootEnabled bool
|
|
|
|
func init() {
|
|
flag.BoolVar(&rootEnabled, "test.root", false, "enable tests that require root")
|
|
}
|