redhat-qe-security / SCAutolib

Library for automation of smart card testing
GNU General Public License v3.0
3 stars 10 forks source link

Split run_cmd #19

Closed mahavrila closed 2 years ago

mahavrila commented 2 years ago

WIP: please do not merge before proper testing.

Split run_cmd to two separate functions: 1) run_cmd that run command with pexpect; 2) check_output that checks output of run_cmd for presence of desired and undesired patterns.