Commit 66046ebb authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

nodefs: remove Debug option

parent 9636c970
......@@ -308,9 +308,6 @@ type FileHandle interface {
// Options sets options for the entire filesystem
type Options struct {
// Debug toggles debug output
Debug bool
// If set to nonnil, this defines the overall entry timeout
// for the file system. See fuse.EntryOut for more information.
EntryTimeout *time.Duration
......
......@@ -87,7 +87,6 @@ func TestKeepCache(t *testing.T) {
sec := time.Second
root := &keepCacheRoot{}
rawFS := NewNodeFS(root, &Options{
Debug: testutil.VerboseTest(),
FirstAutomaticIno: 1,
AttrTimeout: &sec,
......
......@@ -56,8 +56,6 @@ func TestInterrupt(t *testing.T) {
_ = time.Second
oneSec := time.Second
rawFS := NewNodeFS(root, &Options{
Debug: testutil.VerboseTest(),
// NOSUBMIT - should run all tests without cache too
EntryTimeout: &oneSec,
AttrTimeout: &oneSec,
......
......@@ -85,7 +85,6 @@ func newTestCase(t *testing.T, entryCache bool, attrCache bool) *testCase {
entryDT = nil
}
tc.rawFS = NewNodeFS(tc.loopback, &Options{
Debug: testutil.VerboseTest(),
EntryTimeout: entryDT,
AttrTimeout: attrDT,
})
......
......@@ -65,7 +65,6 @@ func TestZipFS(t *testing.T) {
mntDir := testutil.TempDir()
rawFS := NewNodeFS(root, &Options{
Debug: testutil.VerboseTest(),
FirstAutomaticIno: 1,
})
server, err := fuse.NewServer(rawFS, mntDir,
......
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