]> ruderich.org/simon Gitweb - nsscash/nsscash.git/commitdiff
nsscash: main_test: use configPath variable
authorSimon Ruderich <simon@ruderich.org>
Sun, 15 Dec 2019 14:53:16 +0000 (15:53 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sun, 15 Dec 2019 14:53:16 +0000 (15:53 +0100)
main_test.go

index ffb176f05d5df5dab6b430d75eee9c186eef1226..35845371f6878e7a44c0de11ad58b8390da48916 100644 (file)
@@ -888,7 +888,7 @@ password = "%[6]s"
        err = mainFetch(configPath)
        mustBeErrorWithSubstring(t, err,
                "file[0].username/passsword in use and unsafe permissions "+
-                       "-rw-r--r-- on \"testdata/config.toml\"")
+                       "-rw-r--r-- on \""+configPath+"\"")
 
        mustNotExist(t, statePath, groupPath, plainPath)
        mustBeOld(t, passwdPath)