mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-28 11:46:20 -04:00
ab6c553e6b
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
16 lines
371 B
Go
16 lines
371 B
Go
package testutil
|
|
|
|
import "testing"
|
|
|
|
// RequiresRoot does nothing on Windows
|
|
func RequiresRoot(t testing.TB) {
|
|
}
|
|
|
|
// RequiresRootM is similar to RequiresRoot but intended to be called from *testing.M.
|
|
func RequiresRootM() {
|
|
}
|
|
|
|
// Unmount unmounts a given mountPoint and sets t.Error if it fails
|
|
// Does nothing on Windows
|
|
func Unmount(t *testing.T, mountPoint string) {
|
|
}
|