1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/net/gnrc_sixlowpan_frag_sfr_congure_impl: fix path to zep_dispatch

This commit is contained in:
Alexandre Abadie 2023-05-12 16:51:44 +02:00
parent 25517c8739
commit bb49079710
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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',