]> ruderich.org/simon Gitweb - nsscash/nsscash.git/commitdiff
nsscash: main_test: add missing check for statePath
authorSimon Ruderich <simon@ruderich.org>
Sun, 15 Dec 2019 14:51:08 +0000 (15:51 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sun, 15 Dec 2019 14:51:08 +0000 (15:51 +0100)
main_test.go

index a5c488ee7faa929fd8fe9ad2e38b79d16af407e4..145abe91dfe5b8a0c53989e90133856feeeea528 100644 (file)
@@ -715,6 +715,7 @@ func fetchStateCannotRead(a args) {
                statePath+": permission denied")
 
        mustNotExist(t, passwdPath, plainPath, groupPath)
+       mustBeOld(t, statePath)
 }
 
 func fetchStateInvalid(a args) {