Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go-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
Levin Zimmermann
go-fuse
Commits
dae7538a
Commit
dae7538a
authored
Dec 28, 2010
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make readdir() test order independent.
Add x86_64 to tested platforms.
parent
32ca2d1e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
fuse/README
fuse/README
+2
-2
fuse/passthrough_test.go
fuse/passthrough_test.go
+11
-4
No files found.
fuse/README
View file @
dae7538a
...
@@ -22,8 +22,8 @@ functionality.
...
@@ -22,8 +22,8 @@ functionality.
Tested on:
Tested on:
- x86 32bits
.
- x86 32bits
(Fedora 14).
- x86 64bits (Ubuntu Lucid).
CREDITS
CREDITS
...
...
fuse/passthrough_test.go
View file @
dae7538a
...
@@ -390,11 +390,18 @@ func (self *testCase) testReaddir() {
...
@@ -390,11 +390,18 @@ func (self *testCase) testReaddir() {
self
.
tester
.
Errorf
(
"readdir err %v"
,
err
)
self
.
tester
.
Errorf
(
"readdir err %v"
,
err
)
}
}
if
len
(
infos
)
!=
2
{
wanted
:=
map
[
string
]
bool
{
self
.
tester
.
Errorf
(
"infos mismatch %v"
,
infos
)
"hello.txt"
:
true
,
"subdir"
:
true
,
}
if
len
(
wanted
)
!=
len
(
infos
)
{
self
.
tester
.
Errorf
(
"Length mismatch %v"
,
infos
)
}
else
{
}
else
{
if
infos
[
0
]
.
Name
!=
"hello.txt"
||
infos
[
1
]
.
Name
!=
"subdir"
{
for
_
,
v
:=
range
infos
{
self
.
tester
.
Errorf
(
"names incorrect %v"
,
infos
)
_
,
ok
:=
wanted
[
v
.
Name
]
if
!
ok
{
self
.
tester
.
Errorf
(
"Unexpected name %v"
,
v
.
Name
)
}
}
}
}
}
...
...
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