Skip to content

Commit ea33345

Browse files
authored
Merge pull request #375 from xcp-ng/gln/fix-randstream-checksum-vntt
2 parents 1b8053c + 1f825bf commit ea33345

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

tests/storage/storage.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,19 @@ def get_xapi_session():
152152

153153
def install_randstream(vm: 'VM'):
154154
BASE_URL = 'https://github.com/xcp-ng/randstream/releases/download'
155-
VERSION = '0.3.1'
155+
VERSION = '0.4.1'
156156
CHECKSUM = {
157-
'Linux': '71fb54390c590e08d40330aed2818afc49f63fac69314148c7fa5eb35ff1babb',
157+
'Linux': '2a49ec6492a826cc9d4a69556041dad6dbea0051039f41f8de765bd4fb560e54',
158+
'FreeBSD': '07362e6ced58f3dcf0676500775df401ed475b2e594a75a7949e4b2c1ca4775c',
158159
}
159160
TARGET_TRIPLE = {
160161
'Linux': 'x86_64-unknown-linux-musl',
162+
'FreeBSD': 'x86_64-unknown-freebsd',
161163
}
164+
version = vm.ssh('randstream --version', check=False)
165+
if f'randstream {VERSION}' == version:
166+
logging.debug("randstream is already installed")
167+
return
162168
logging.debug("Installing randstream")
163169
if vm.is_windows:
164170
raise ValueError("Windows is not currently supported")

0 commit comments

Comments
 (0)