[BACK]Return to pkglint_test.go CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkglint / files

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/pkgtools/pkglint/files/Attic/pkglint_test.go between version 1.63 and 1.64

version 1.63, 2020/03/23 19:55:08 version 1.64, 2020/05/08 19:50:04
Line 215  func (s *Suite) Test_Pkglint_Main__compl
Line 215  func (s *Suite) Test_Pkglint_Main__compl
                 "removed lines. The hunk headers says that one line is to be",                  "removed lines. The hunk headers says that one line is to be",
                 "removed, but in fact, there is no deletion line below it.",                  "removed, but in fact, there is no deletion line below it.",
                 "",                  "",
                 "--- a/checkperms.c",                  "--- checkperms.c",
                 "+++ b/checkperms.c",                  "+++ checkperms.c",
                 "@@ -1,1 +1,3 @@", // at line 1, delete 1 line; at line 1, add 3 lines                  "@@ -1,1 +1,3 @@", // at line 1, delete 1 line; at line 1, add 3 lines
                 "+// Header 1",                  "+// Header 1",
                 "+// Header 2",                  "+// Header 2",
Line 243  func (s *Suite) Test_Pkglint_Main__compl
Line 243  func (s *Suite) Test_Pkglint_Main__compl
                 "ERROR: ~/sysutils/checkperms/Makefile:4: Invalid category \"tools\".",                  "ERROR: ~/sysutils/checkperms/Makefile:4: Invalid category \"tools\".",
                 "ERROR: ~/sysutils/checkperms/TODO: Packages in main pkgsrc must not have a TODO file.",                  "ERROR: ~/sysutils/checkperms/TODO: Packages in main pkgsrc must not have a TODO file.",
                 "ERROR: ~/sysutils/checkperms/distinfo:7: SHA1 hash of patches/patch-checkperms.c differs "+                  "ERROR: ~/sysutils/checkperms/distinfo:7: SHA1 hash of patches/patch-checkperms.c differs "+
                         "(distinfo has asdfasdf, patch file has e775969de639ec703866c0336c4c8e0fdd96309c).",                          "(distinfo has asdfasdf, patch file has bcfb79696cb6bf4d2222a6d78a530e11bf1c0cea).",
                 "WARN: ~/sysutils/checkperms/patches/patch-checkperms.c:12: Premature end of patch hunk "+                  "WARN: ~/sysutils/checkperms/patches/patch-checkperms.c:12: Premature end of patch hunk "+
                         "(expected 1 lines to be deleted and 0 lines to be added).",                          "(expected 1 lines to be deleted and 0 lines to be added).",
                 "3 errors, 2 warnings and 1 note found.",                  "3 errors, 2 warnings and 1 note found.",
Line 1069  func (s *Suite) Test_Pkglint_checkReg__r
Line 1069  func (s *Suite) Test_Pkglint_checkReg__r
         t.CreateFileLines("category/package/distinfo",          t.CreateFileLines("category/package/distinfo",
                 CvsID,                  CvsID,
                 "",                  "",
                 "SHA1 (patch-README) = ebbf34b0641bcb508f17d5a27f2bf2a536d810ac")                  "SHA1 (patch-README) = 87686be2a11c9d610ff09e029db92efddd96e4f9")
   
         // Copy category/package/** to wip/package.          // Copy category/package/** to wip/package.
         // TODO: Extract into Tester.CopyAll.          // TODO: Extract into Tester.CopyAll.
Line 1204  func (s *Suite) Test_Pkglint_checkRegCvs
Line 1204  func (s *Suite) Test_Pkglint_checkRegCvs
         t.CreateFileLines("distinfo",          t.CreateFileLines("distinfo",
                 CvsID,                  CvsID,
                 "",                  "",
                 "SHA1 (patch-any) = ebbf34b0641bcb508f17d5a27f2bf2a536d810ac")                  "SHA1 (patch-any) = c3bc5923e225e5eafb8bb1f55e2142317c19800c")
         t.CreateFileLines("CVS/Entries",          t.CreateFileLines("CVS/Entries",
                 "/Makefile/1.1/modified/-ko/")                  "/Makefile/1.1/modified/-ko/")
         t.CreateFileLines("patches/CVS/Entries",          t.CreateFileLines("patches/CVS/Entries",

Legend:
Removed from v.1.63  
changed lines
  Added in v.1.64

CVSweb <webmaster@jp.NetBSD.org>