mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-06-23 01:28:51 +00:00
Revert os-release path to /mnt/root
/mnt/boot/os-release isn't always accurate so /mnt/root should be the source of truth. Change-type: patch Signed-off-by: Christina Ying Wang <christina@balena.io>
This commit is contained in:
@ -425,7 +425,7 @@ describe('manages application lifecycle', () => {
|
||||
// Versions match semver versioning scheme: major.minor.patch(+rev)?
|
||||
expect(body)
|
||||
.to.have.property('os_version')
|
||||
.that.matches(/balenaOS\s[1-2]\.[0-9]{1,3}\.[0-9]{1,3}(?:\+rev[0-9])?/);
|
||||
.that.matches(/balenaOS\s[1-4]\.[0-9]{1,3}\.[0-9]{1,3}(?:\+rev[0-9])?/);
|
||||
expect(body)
|
||||
.to.have.property('supervisor_version')
|
||||
.that.matches(/(?:[0-9]+\.?){3}/);
|
||||
|
Reference in New Issue
Block a user