Update T1059.006.yaml

This commit is contained in:
ruyek-git
2022-06-21 17:57:24 -05:00
committed by GitHub
parent 8e8ae44bc5
commit ad5cdce233
+1 -9
View File
@@ -158,21 +158,13 @@ atomic_tests:
Verify if python is in the environment variable path and attempt to import requests library.
prereq_command: |
which_python=$(which python || which python3 || which python2); $which_python -V
$which_python -c 'import requests' 2>/dev/null; echo $?
$which_python -c 'import requests' 2>/dev/null; echo $?
get_prereq_command: |
pip install requests
executor:
command: |-
python -c "import pty;pty.spawn('/bin/sh')"
exit
python -c "import pty;pty.spawn('/bin/bash')"
exit
name: bash