Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
82a1c771
Commit
82a1c771
authored
Oct 04, 2018
by
Anton Evangelatov
Committed by
Viktor Trón
Oct 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/swarm: disable tests under Windows until they are fixed (#17827)
parent
9d06b2c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
manifest_test.go
cmd/swarm/manifest_test.go
+17
-0
No files found.
cmd/swarm/manifest_test.go
View file @
82a1c771
...
@@ -21,6 +21,7 @@ import (
...
@@ -21,6 +21,7 @@ import (
"io/ioutil"
"io/ioutil"
"os"
"os"
"path/filepath"
"path/filepath"
"runtime"
"testing"
"testing"
"github.com/ethereum/go-ethereum/swarm/api"
"github.com/ethereum/go-ethereum/swarm/api"
...
@@ -30,12 +31,20 @@ import (
...
@@ -30,12 +31,20 @@ import (
// TestManifestChange tests manifest add, update and remove
// TestManifestChange tests manifest add, update and remove
// cli commands without encryption.
// cli commands without encryption.
func
TestManifestChange
(
t
*
testing
.
T
)
{
func
TestManifestChange
(
t
*
testing
.
T
)
{
if
runtime
.
GOOS
==
"windows"
{
t
.
Skip
()
}
testManifestChange
(
t
,
false
)
testManifestChange
(
t
,
false
)
}
}
// TestManifestChange tests manifest add, update and remove
// TestManifestChange tests manifest add, update and remove
// cli commands with encryption enabled.
// cli commands with encryption enabled.
func
TestManifestChangeEncrypted
(
t
*
testing
.
T
)
{
func
TestManifestChangeEncrypted
(
t
*
testing
.
T
)
{
if
runtime
.
GOOS
==
"windows"
{
t
.
Skip
()
}
testManifestChange
(
t
,
true
)
testManifestChange
(
t
,
true
)
}
}
...
@@ -400,6 +409,10 @@ func testManifestChange(t *testing.T, encrypt bool) {
...
@@ -400,6 +409,10 @@ func testManifestChange(t *testing.T, encrypt bool) {
// TestNestedDefaultEntryUpdate tests if the default entry is updated
// TestNestedDefaultEntryUpdate tests if the default entry is updated
// if the file in nested manifest used for it is also updated.
// if the file in nested manifest used for it is also updated.
func
TestNestedDefaultEntryUpdate
(
t
*
testing
.
T
)
{
func
TestNestedDefaultEntryUpdate
(
t
*
testing
.
T
)
{
if
runtime
.
GOOS
==
"windows"
{
t
.
Skip
()
}
testNestedDefaultEntryUpdate
(
t
,
false
)
testNestedDefaultEntryUpdate
(
t
,
false
)
}
}
...
@@ -407,6 +420,10 @@ func TestNestedDefaultEntryUpdate(t *testing.T) {
...
@@ -407,6 +420,10 @@ func TestNestedDefaultEntryUpdate(t *testing.T) {
// of encrypted upload is updated if the file in nested manifest
// of encrypted upload is updated if the file in nested manifest
// used for it is also updated.
// used for it is also updated.
func
TestNestedDefaultEntryUpdateEncrypted
(
t
*
testing
.
T
)
{
func
TestNestedDefaultEntryUpdateEncrypted
(
t
*
testing
.
T
)
{
if
runtime
.
GOOS
==
"windows"
{
t
.
Skip
()
}
testNestedDefaultEntryUpdate
(
t
,
true
)
testNestedDefaultEntryUpdate
(
t
,
true
)
}
}
...
...
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