mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-23 09:06:29 +01:00
browse: Clarify test skip on Windows and log a message
This commit is contained in:
parent
0b4dda0aba
commit
0a31c32fb7
1 changed files with 5 additions and 1 deletions
|
@ -3,6 +3,7 @@ package browse
|
|||
import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
|
@ -461,7 +462,10 @@ func TestBrowseRedirect(t *testing.T) {
|
|||
|
||||
func TestDirSymlink(t *testing.T) {
|
||||
if runtime.GOOS == "windows" {
|
||||
return // TODO: Temporarily skipping these tests on Windows, so we can get a release out that fixes the build server
|
||||
// Windows support for symlinks is limited, and we had a hard time getting
|
||||
// all these tests to pass with the permissions of CI; so just skip them
|
||||
fmt.Println("Skipping browse symlink tests on Windows...")
|
||||
return
|
||||
}
|
||||
|
||||
testCases := []struct {
|
||||
|
|
Loading…
Reference in a new issue