Commit a2e4f919 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Add example/statfs to all.bash and fix it.

parent 6b801d3b
...@@ -24,7 +24,7 @@ for target in "clean" "install" ; do ...@@ -24,7 +24,7 @@ for target in "clean" "install" ; do
for d in fuse fuse/nodefs fuse/pathfs fuse/test zipfs unionfs \ for d in fuse fuse/nodefs fuse/pathfs fuse/test zipfs unionfs \
example/hello example/loopback example/zipfs \ example/hello example/loopback example/zipfs \
example/multizip example/unionfs example/memfs \ example/multizip example/unionfs example/memfs \
example/autounionfs ; \ example/autounionfs example/statfs ; \
do do
if test "${target}" = "install" && test "${d}" = "fuse/test"; then if test "${target}" = "install" && test "${d}" = "fuse/test"; then
continue continue
......
...@@ -48,7 +48,7 @@ func main() { ...@@ -48,7 +48,7 @@ func main() {
log.Fatalf("os.Create: %v", err) log.Fatalf("os.Create: %v", err)
} }
} }
fs := benchmark.NewStatFs() fs := benchmark.NewStatFS()
lines := benchmark.ReadLines(flag.Arg(1)) lines := benchmark.ReadLines(flag.Arg(1))
for _, l := range lines { for _, l := range lines {
fs.AddFile(l) fs.AddFile(l)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment