Commit 2665bd13 authored by Aaron Jacobs's avatar Aaron Jacobs

Other SetUp methods.

parent f92de1a6
......@@ -631,7 +631,10 @@ type FlushErrorTest struct {
func init() { RegisterTestSuite(&FlushErrorTest{}) }
func (t *FlushErrorTest) SetUp(ti *TestInfo)
func (t *FlushErrorTest) SetUp(ti *TestInfo) {
const noErr = 0
t.flushFSTest.SetUp(ti, bazilfuse.ENOENT, noErr)
}
func (t *FlushErrorTest) Close() {
var err error
......@@ -714,7 +717,10 @@ type FsyncErrorTest struct {
func init() { RegisterTestSuite(&FsyncErrorTest{}) }
func (t *FsyncErrorTest) SetUp(ti *TestInfo)
func (t *FsyncErrorTest) SetUp(ti *TestInfo) {
const noErr = 0
t.flushFSTest.SetUp(ti, noErr, bazilfuse.ENOENT)
}
func (t *FsyncErrorTest) Fsync() {
var err error
......
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