osmith has uploaded this change for review.

View Change

testenv: fix TESTENV_INSTALL_DIR for --binary-repo

When --binary-repo is set, "/" must be used as install directory,
without any suffix for the distribution.

Fix for:
realpath: /-debian-trixie/usr/lib/osmo-s1gw: No such file or directory

Fixes: 2152d512 ("testenv: use separate cache dirs per distro")
Change-Id: I1e1ca65fd6a7d77c751dd7138015ff474f8ae576
---
M _testenv/testenv/cmd.py
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/67/40967/1
diff --git a/_testenv/testenv/cmd.py b/_testenv/testenv/cmd.py
index 6f50677..2cc590a 100644
--- a/_testenv/testenv/cmd.py
+++ b/_testenv/testenv/cmd.py
@@ -33,7 +33,7 @@
install_dir = "/"
else:
install_dir = os.path.join(testenv.args.cache, "podman/install")
- install_dir += distro_cache_suffix()
+ install_dir += distro_cache_suffix()
else:
install_dir = os.path.join(testenv.args.cache, "host/install")


To view, visit change 40967. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I1e1ca65fd6a7d77c751dd7138015ff474f8ae576
Gerrit-Change-Number: 40967
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>