Lines Matching refs:fpath
35 fpath := path + "/file"
36 f, err := Create(fpath)
38 t.Fatalf("create %q: %s", fpath, err)
43 err = MkdirAll(fpath, 0777)
45 t.Fatalf("MkdirAll %q: no error", fpath)
49 t.Fatalf("MkdirAll %q returned %T, not *PathError", fpath, err)
51 if filepath.Clean(perr.Path) != filepath.Clean(fpath) {
52 t.Fatalf("MkdirAll %q returned wrong error path: %q not %q", fpath, filepath.Clean(perr.Path), filepath.Clean(fpath))
56 ffpath := fpath + "/subdir"
65 if filepath.Clean(perr.Path) != filepath.Clean(fpath) {
66 t.Fatalf("MkdirAll %q returned wrong error path: %q not %q", ffpath, filepath.Clean(perr.Path), filepath.Clean(fpath))
82 fpath := path + "/file"
89 fd, err := Create(fpath)
91 t.Fatalf("create %q: %s", fpath, err)
105 fd, err = Create(fpath)
107 t.Fatalf("create %q: %s", fpath, err)
112 t.Fatalf("create %q: %s", fpath, err)
137 for _, s := range []string{fpath, dpath + "/file1", path + "/zzz"} {
150 // either way we want to see if it removes fpath
158 for _, s := range []string{fpath, path + "/zzz"} {