Projects STRLCPY syft Commits 354c72bb
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    syft/pkg/cataloger/cataloger.go
    skipped 48 lines
    49 49   java.NewJavaCataloger(cfg.Java()),
    50 50   java.NewNativeImageCataloger(),
    51 51   javascript.NewPackageCataloger(),
    52  - kernel.NewLinuxKernelCataloger(cfg.Kernel()),
    53 52   nix.NewStoreCataloger(),
    54 53   php.NewComposerInstalledCataloger(),
    55 54   portage.NewPortageCataloger(),
    skipped 24 lines
    80 79   java.NewJavaPomCataloger(),
    81 80   java.NewNativeImageCataloger(),
    82 81   javascript.NewLockCataloger(),
    83  - kernel.NewLinuxKernelCataloger(cfg.Kernel()),
    84 82   nix.NewStoreCataloger(),
    85 83   php.NewComposerLockCataloger(),
    86 84   portage.NewPortageCataloger(),
    skipped 114 lines
  • ■ ■ ■ ■ ■ ■
    test/cli/packages_cmd_test.go
    skipped 95 lines
    96 96   name: "squashed-scope-flag",
    97 97   args: []string{"packages", "-o", "json", "-s", "squashed", coverageImage},
    98 98   assertions: []traitAssertion{
    99  - assertPackageCount(37),
     99 + assertPackageCount(35),
    100 100   assertSuccessfulReturnCode,
    101 101   },
    102 102   },
    skipped 110 lines
    213 213   // the application config in the log matches that of what we expect to have been configured.
    214 214   assertInOutput("parallelism: 2"),
    215 215   assertInOutput("parallelism=2"),
    216  - assertPackageCount(37),
     216 + assertPackageCount(35),
    217 217   assertSuccessfulReturnCode,
    218 218   },
    219 219   },
    skipped 4 lines
    224 224   // the application config in the log matches that of what we expect to have been configured.
    225 225   assertInOutput("parallelism: 1"),
    226 226   assertInOutput("parallelism=1"),
    227  - assertPackageCount(37),
     227 + assertPackageCount(35),
    228 228   assertSuccessfulReturnCode,
    229 229   },
    230 230   },
    skipped 7 lines
    238 238   assertions: []traitAssertion{
    239 239   assertNotInOutput("secret_password"),
    240 240   assertNotInOutput("secret_key_path"),
    241  - assertPackageCount(37),
     241 + assertPackageCount(35),
    242 242   assertSuccessfulReturnCode,
    243 243   },
    244 244   },
    skipped 95 lines
  • ■ ■ ■ ■ ■ ■
    test/integration/catalog_packages_cases_test.go
    skipped 11 lines
    12 12   
    13 13  var imageOnlyTestCases = []testCase{
    14 14   {
    15  - name: "find kernel packages",
    16  - pkgType: pkg.LinuxKernelPkg,
    17  - pkgInfo: map[string]string{
    18  - "linux-kernel": "6.0.7-301.fc37.x86_64",
    19  - },
    20  - },
    21  - {
    22  - name: "find kernel module packages",
    23  - pkgType: pkg.LinuxKernelModulePkg,
    24  - pkgInfo: map[string]string{
    25  - "ttynull": "",
    26  - },
    27  - },
    28  - {
    29 15   name: "find gemspec packages",
    30 16   pkgType: pkg.GemPkg,
    31 17   pkgLanguage: pkg.Ruby,
    skipped 385 lines
  • ■ ■ ■ ■ ■
    test/integration/catalog_packages_test.go
    skipped 90 lines
    91 91   definedPkgs.Remove(string(pkg.HackagePkg))
    92 92   definedPkgs.Remove(string(pkg.BinaryPkg))
    93 93   definedPkgs.Remove(string(pkg.HexPkg))
     94 + definedPkgs.Remove(string(pkg.LinuxKernelPkg))
     95 + definedPkgs.Remove(string(pkg.LinuxKernelModulePkg))
    94 96   
    95 97   var cases []testCase
    96 98   cases = append(cases, commonTestCases...)
    skipped 123 lines
    220 222   definedLanguages.Remove(pkg.UnknownLanguage.String())
    221 223   observedPkgs.Remove(string(pkg.UnknownPkg))
    222 224   definedPkgs.Remove(string(pkg.BinaryPkg))
    223  - definedPkgs.Remove(string(pkg.UnknownPkg))
    224 225   definedPkgs.Remove(string(pkg.LinuxKernelPkg))
    225 226   definedPkgs.Remove(string(pkg.LinuxKernelModulePkg))
     227 + definedPkgs.Remove(string(pkg.UnknownPkg))
    226 228   
    227 229   // for directory scans we should not expect to see any of the following package types
    228 230   definedPkgs.Remove(string(pkg.KbPkg))
    skipped 92 lines
Please wait...
Page is in error, reload to recover