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:
parent
6465fa42a6
commit
b2f154a9a9
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user