Commit 079e1cb2 authored by shirou's avatar shirou

[internal]Windows: skip Host test.

parent 2ae56c34
......@@ -4,6 +4,7 @@ import (
"fmt"
"os"
"reflect"
"runtime"
"strings"
"testing"
)
......@@ -92,6 +93,9 @@ func TestPathExists(t *testing.T) {
}
func TestHostEtc(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("windows doesn't have etc")
}
p := HostEtc("mtab")
if p != "/etc/mtab" {
t.Errorf("invalid HostEtc, %s", p)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment