code: func ValidateWorkingDirectory(wwd string) (r results) {
  	gwd, err := os.Getwd()
  	if err != nil {
  		r = append(r, fmt.Errorf("error getting working directory: %v", err))
  		return
  	}
  	if gwd != wwd {
  		r = append(r, fmt.Errorf("working directory not set appropriately (need %q, got %v)", wwd, gwd))
  	}
  	return
  }
docs: // ValidateWorkingDirectory ensures that the process working directory is set
  // to the desired path.