Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jacobsa-fuse
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
Kirill Smelkov
jacobsa-fuse
Commits
e0120277
Commit
e0120277
authored
Jul 24, 2015
by
Aaron Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deleted a broken test.
parent
f4231ede
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
31 deletions
+0
-31
internal/fuseshim/options_nocomma_test.go
internal/fuseshim/options_nocomma_test.go
+0
-31
No files found.
internal/fuseshim/options_nocomma_test.go
deleted
100644 → 0
View file @
f4231ede
// This file contains tests for platforms that have no escape
// mechanism for including commas in mount options.
//
// +build darwin
package
fuseshim_test
import
(
"runtime"
"testing"
fuse
"github.com/jacobsa/bazilfuse"
"github.com/jacobsa/bazilfuse/fs/fstestutil"
)
func
TestMountOptionCommaError
(
t
*
testing
.
T
)
{
t
.
Parallel
()
// this test is not tied to any specific option, it just needs
// some string content
var
evil
=
"FuseTest,Marker"
mnt
,
err
:=
fstestutil
.
MountedT
(
t
,
fstestutil
.
SimpleFS
{
fstestutil
.
Dir
{}},
nil
,
fuse
.
ForTestSetMountOption
(
"fusetest"
,
evil
),
)
if
err
==
nil
{
mnt
.
Close
()
t
.
Fatal
(
"expected an error about commas"
)
}
if
g
,
e
:=
err
.
Error
(),
`mount options cannot contain commas on `
+
runtime
.
GOOS
+
`: "fusetest"="FuseTest,Marker"`
;
g
!=
e
{
t
.
Fatalf
(
"wrong error: %q != %q"
,
g
,
e
)
}
}
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