unit test to reproduce issue #691

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman 2021-12-14 17:27:35 -05:00
parent 727b84ce0d
commit b182fc4578
No known key found for this signature in database
GPG key ID: 5CB45AE22BAB7EA7
2 changed files with 11 additions and 0 deletions

View file

@ -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,

View 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/"