Home | History | Annotate | Download | only in filepath

Lines Matching refs:wd

791 func testEvalSymlinksAfterChdir(t *testing.T, wd, path, want string) {
803 err = os.Chdir(wd)
810 t.Errorf("EvalSymlinks(%q) in %q directory error: %v", path, wd, err)
814 t.Errorf("EvalSymlinks(%q) in %q directory returns %q, want %q", path, wd, have, want)
1000 wd, err := os.Getwd()
1008 defer os.Chdir(wd)
1188 wd, _ := os.Getwd()
1189 if len(wd) < 3 {
1190 t.Errorf("Current directory path %q is too short", wd)
1192 lp := strings.ToLower(wd)
1193 up := strings.ToUpper(wd)
1254 wd, err := os.Getwd()
1258 defer os.Chdir(wd)