Add ArchLinux to lsbrelease test

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
This commit is contained in:
Nicolas Lamirault 2016-01-05 11:41:27 +01:00
parent 011f6356e1
commit fb1c19a901

View File

@ -39,6 +39,17 @@ DISTRIB_CODENAME=wheezy
DISTRIB_DESCRIPTION="Debian 7.1"`),
},
},
osTest{
expectedOS: "arch",
expectedVersion: "rolling",
data: map[string][]byte{
"etc/lsb-release": []byte(
`LSB_VERSION=1.4
DISTRIB_ID=Arch
DISTRIB_RELEASE=rolling
DISTRIB_DESCRIPTION="Arch Linux"`),
},
},
}
func TestLsbReleaseOSDetector(t *testing.T) {