brintos

brintos / linux-shallow public Read only

0
0
Text · 450 B · 401e70f Raw
20 lines · python
1# SPDX-License-Identifier: GPL-2.02 3import sys4from pathlib import Path5 6KSFT_DIR = (Path(__file__).parent / "../../../..").resolve()7 8try:9    sys.path.append(KSFT_DIR.as_posix())10    from net.lib.py import *11except ModuleNotFoundError as e:12    ksft_pr("Failed importing `net` library from kernel sources")13    ksft_pr(str(e))14    ktap_result(True, comment="SKIP")15    sys.exit(4)16 17from .env import *18from .load import *19from .remote import Remote20