From 755bd19f757382cae9da0e42f5af138794769ec4 Mon Sep 17 00:00:00 2001 From: Tom Williams Date: Fri, 30 Apr 2021 19:56:06 +0100 Subject: [PATCH] Slave counters test script: Resolve symlinks in path used with pytest. See #191 --- tests/ci/test-run-sim-slave-counters.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ci/test-run-sim-slave-counters.sh b/tests/ci/test-run-sim-slave-counters.sh index 950b32aa..da1ceab9 100755 --- a/tests/ci/test-run-sim-slave-counters.sh +++ b/tests/ci/test-run-sim-slave-counters.sh @@ -26,8 +26,8 @@ SH_SOURCE=${BASH_SOURCE} -IPBUS_PATH=$(cd $(dirname ${SH_SOURCE})/../.. && pwd) -WORK_ROOT=$(cd ${IPBUS_PATH}/../.. && pwd) +IPBUS_PATH=$(readlink -f $(cd $(dirname ${SH_SOURCE})/../.. && pwd)) +WORK_ROOT=$(cd $(dirname ${SH_SOURCE})/../../../.. && pwd) PROJ=sim_ctr_slaves # Stop on the first error