}
}
-// mustMakeOld verifies that all paths have a modification time in the past,
-// as set by mustMakeOld().
+// mustBeOld verifies that all paths have a modification time in the past, as
+// set by mustMakeOld.
func mustBeOld(t *testing.T, paths ...string) {
for _, p := range paths {
i, err := os.Stat(p)
"status code 404")
mustNotExist(t, statePath, plainPath, groupPath)
- mustBeOld(a.t, passwdPath)
+ mustBeOld(t, passwdPath)
}
func fetchPasswdUnexpected304(a args) {
"status code 304 but did not send If-Modified-Since")
mustNotExist(t, statePath, plainPath, groupPath)
- mustBeOld(a.t, passwdPath)
+ mustBeOld(t, passwdPath)
}
func fetchPasswdEmpty(a args) {