1 # SPDX-License-Identifier: GPL-2.0 2 3 import sys 4 from pathlib import Path 5 6 KSFT_DIR = (Path(__file__).parent / "../../../..").resolve() 7 8 try: 9 sys.path.append(KSFT_DIR.as_posix()) 10 from net.lib.py import * 11 except 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 17 from .env import * 18 from .load import * 19 from .remote import Remote
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.