ebde11d29f
This commit add a simple test checking the reported distro name and id are Buildroot (as reported by /etc/os-release). Signed-off-by: Julien Olivain <ju.o@free.fr> [Arnout: drop python2 variant] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 lines
87 B
Python
5 lines
87 B
Python
import distro
|
|
|
|
assert(distro.name() == 'Buildroot')
|
|
assert(distro.id() == 'buildroot')
|