mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
unit test to reproduce issue #691
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
parent
727b84ce0d
commit
b182fc4578
@ -25,6 +25,11 @@ func TestIdentifyDistro(t *testing.T) {
|
|||||||
Type: Alpine,
|
Type: Alpine,
|
||||||
Version: "3.11.6",
|
Version: "3.11.6",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
fixture: "test-fixtures/os/alpine-edge",
|
||||||
|
Type: Alpine,
|
||||||
|
Version: "3.15.0_alpha20210804",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
fixture: "test-fixtures/os/amazon",
|
fixture: "test-fixtures/os/amazon",
|
||||||
Type: AmazonLinux,
|
Type: AmazonLinux,
|
||||||
|
|||||||
6
syft/distro/test-fixtures/os/alpine-edge/etc/os-release
Normal file
6
syft/distro/test-fixtures/os/alpine-edge/etc/os-release
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
NAME="Alpine Linux"
|
||||||
|
ID=alpine
|
||||||
|
VERSION_ID=3.15.0_alpha20210804
|
||||||
|
PRETTY_NAME="Alpine Linux edge"
|
||||||
|
HOME_URL="https://alpinelinux.org/"
|
||||||
|
BUG_REPORT_URL="https://bugs.alpinelinux.org/"
|
||||||
Loading…
x
Reference in New Issue
Block a user