tests: stop calling t.Fatal from example_test_helpers

Calling t.Fatal immeadiately aborts the test, which means the
filesystem will not get unmounted, which means test.bash will
hang.
This commit is contained in:
Jakob Unterwurzacher 2017-03-05 13:39:25 +01:00
parent 6465fa42a6
commit b2f154a9a9
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@ func checkExampleFSrw(t *testing.T, dir string, rw bool) {
"xxxxxxxxxxxxxxxxxxxxxxxx"
contentBytes, err := ioutil.ReadFile(filepath.Join(dir, longname))
if err != nil {
t.Fatal(err)
t.Error(err)
return
}
content := string(contentBytes)
if content != statusTxtContent {