mirror of
https://github.com/anchore/syft
synced 2024-11-10 06:14:16 +00: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
2 changed files with 11 additions and 0 deletions
|
@ -25,6 +25,11 @@ func TestIdentifyDistro(t *testing.T) {
|
|||
Type: Alpine,
|
||||
Version: "3.11.6",
|
||||
},
|
||||
{
|
||||
fixture: "test-fixtures/os/alpine-edge",
|
||||
Type: Alpine,
|
||||
Version: "3.15.0_alpha20210804",
|
||||
},
|
||||
{
|
||||
fixture: "test-fixtures/os/amazon",
|
||||
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…
Reference in a new issue