mirror of
https://github.com/anchore/syft.git
synced 2026-02-13 19:16:43 +01:00
add to dpkg integration test cases to detect packages from /var/lib/dpkg/status.d/
Signed-off-by: Weston Steimel <weston.steimel@gmail.com>
This commit is contained in:
parent
b963be219b
commit
6c80f9910f
@ -144,7 +144,9 @@ var commonTestCases = []testCase{
|
|||||||
name: "find dpkg packages",
|
name: "find dpkg packages",
|
||||||
pkgType: pkg.DebPkg,
|
pkgType: pkg.DebPkg,
|
||||||
pkgInfo: map[string]string{
|
pkgInfo: map[string]string{
|
||||||
"apt": "1.8.2",
|
"apt": "1.8.2",
|
||||||
|
"dash": "0.5.8-2.4",
|
||||||
|
"netbase": "5.4",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -0,0 +1,18 @@
|
|||||||
|
Package: dash
|
||||||
|
Version: 0.5.8-2.4
|
||||||
|
Architecture: amd64
|
||||||
|
Essential: yes
|
||||||
|
Maintainer: Gerrit Pape <pape@smarden.org>
|
||||||
|
Installed-Size: 204
|
||||||
|
Pre-Depends: libc6 (>= 2.14)
|
||||||
|
Depends: debianutils (>= 2.15), dpkg (>= 1.15.0)
|
||||||
|
Section: shells
|
||||||
|
Priority: required
|
||||||
|
Homepage: http://gondor.apana.org.au/~herbert/dash/
|
||||||
|
Description: POSIX-compliant shell
|
||||||
|
The Debian Almquist Shell (dash) is a POSIX-compliant shell derived
|
||||||
|
from ash.
|
||||||
|
.
|
||||||
|
Since it executes scripts faster than bash, and has fewer library
|
||||||
|
dependencies (making it more robust against software or hardware
|
||||||
|
failures), it is used as the default system shell on Debian systems.
|
||||||
@ -0,0 +1,11 @@
|
|||||||
|
Package: netbase
|
||||||
|
Version: 5.4
|
||||||
|
Architecture: all
|
||||||
|
Maintainer: Marco d'Itri <md@linux.it>
|
||||||
|
Installed-Size: 44
|
||||||
|
Section: admin
|
||||||
|
Priority: important
|
||||||
|
Multi-Arch: foreign
|
||||||
|
Description: Basic TCP/IP networking system
|
||||||
|
This package provides the necessary infrastructure for basic TCP/IP based
|
||||||
|
networking.
|
||||||
Loading…
x
Reference in New Issue
Block a user