Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
caddy
Commits
0a31c32f
Commit
0a31c32f
authored
Aug 26, 2017
by
Matthew Holt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
browse: Clarify test skip on Windows and log a message
parent
0b4dda0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
caddyhttp/browse/browse_test.go
caddyhttp/browse/browse_test.go
+5
-1
No files found.
caddyhttp/browse/browse_test.go
View file @
0a31c32f
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment