1# SPDX-License-Identifier: GPL-2.0 2 3import sys 4from pathlib import Path 5 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 Remote 20