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
7b00963e
Commit
7b00963e
authored
Jul 24, 2015
by
Aaron Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deleted a test that references the old package.
parent
1213e41e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
31 deletions
+0
-31
internal/fusekernel/fuse_kernel_test.go
internal/fusekernel/fuse_kernel_test.go
+0
-31
No files found.
internal/fusekernel/fuse_kernel_test.go
deleted
100644 → 0
View file @
1213e41e
package
fusekernel_test
import
(
"os"
"testing"
fuse
"github.com/jacobsa/bazilfuse"
)
func
TestOpenFlagsAccmodeMask
(
t
*
testing
.
T
)
{
var
f
=
fuse
.
OpenFlags
(
os
.
O_RDWR
|
os
.
O_SYNC
)
if
g
,
e
:=
f
&
fuse
.
OpenAccessModeMask
,
fuse
.
OpenReadWrite
;
g
!=
e
{
t
.
Fatalf
(
"OpenAccessModeMask behaves wrong: %v: %o != %o"
,
f
,
g
,
e
)
}
if
f
.
IsReadOnly
()
{
t
.
Fatalf
(
"IsReadOnly is wrong: %v"
,
f
)
}
if
f
.
IsWriteOnly
()
{
t
.
Fatalf
(
"IsWriteOnly is wrong: %v"
,
f
)
}
if
!
f
.
IsReadWrite
()
{
t
.
Fatalf
(
"IsReadWrite is wrong: %v"
,
f
)
}
}
func
TestOpenFlagsString
(
t
*
testing
.
T
)
{
var
f
=
fuse
.
OpenFlags
(
os
.
O_RDWR
|
os
.
O_SYNC
|
os
.
O_APPEND
)
if
g
,
e
:=
f
.
String
(),
"OpenReadWrite+OpenAppend+OpenSync"
;
g
!=
e
{
t
.
Fatalf
(
"OpenFlags.String: %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