From bb490797100267ca755b212bbfeaca03c8a1a14c Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 12 May 2023 16:51:44 +0200 Subject: [PATCH] tests/net/gnrc_sixlowpan_frag_sfr_congure_impl: fix path to zep_dispatch --- .../net/gnrc_sixlowpan_frag_sfr_congure_impl/tests/01-run.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/net/gnrc_sixlowpan_frag_sfr_congure_impl/tests/01-run.py b/tests/net/gnrc_sixlowpan_frag_sfr_congure_impl/tests/01-run.py index 30c5e217e9..4bf058179c 100755 --- a/tests/net/gnrc_sixlowpan_frag_sfr_congure_impl/tests/01-run.py +++ b/tests/net/gnrc_sixlowpan_frag_sfr_congure_impl/tests/01-run.py @@ -8,6 +8,7 @@ # directory for more details. import contextlib +import os import subprocess import sys import time @@ -19,6 +20,8 @@ from riotctrl.ctrl import RIOTCtrlBoardFactory from riotctrl_ctrl import native from riotctrl_shell.netif import IfconfigListParser +RIOTBASE = os.getenv("RIOTBASE", os.path.abspath(os.path.join(os.path.dirname(__file__), "../../../"))) +ZEP_DISPATCH_PATH = os.path.join(RIOTBASE, "dist/tools/zep_dispatch/bin/zep_dispatch") PARSERS = { "ping6": GNRCICMPv6EchoParser(), "ifconfig": IfconfigListParser(), @@ -135,7 +138,7 @@ def test_fragmentation(factory, zep_dispatch): def run_zep_dispatch(): zep_dispatch = Popen( [ - '../../dist/tools/zep_dispatch/bin/zep_dispatch', + ZEP_DISPATCH_PATH, '-t', '-', '127.0.0.1',