Declared fdatasync tests.
parent
096c3fa695
commit
fddf222e4f
|
@ -409,6 +409,10 @@ func (t *NoErrorsTest) Fsync() {
|
||||||
AssertThat(t.getFsyncs(), ElementsAre("taco", "tacos"))
|
AssertThat(t.getFsyncs(), ElementsAre("taco", "tacos"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (t *NoErrorsTest) Fdatasync() {
|
||||||
|
AssertTrue(false, "TODO")
|
||||||
|
}
|
||||||
|
|
||||||
func (t *NoErrorsTest) Dup() {
|
func (t *NoErrorsTest) Dup() {
|
||||||
var n int
|
var n int
|
||||||
var err error
|
var err error
|
||||||
|
@ -750,3 +754,7 @@ func (t *FsyncErrorTest) Fsync() {
|
||||||
AssertNe(nil, err)
|
AssertNe(nil, err)
|
||||||
ExpectThat(err, Error(HasSubstr("no such file")))
|
ExpectThat(err, Error(HasSubstr("no such file")))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (t *FsyncErrorTest) Fdatasync() {
|
||||||
|
AssertTrue(false, "TODO")
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue