commit | b255d07010a8a7c585ba40d0e4be163485badc69 | [log] [tgz] |
---|---|---|
author | Stefan Berger <stefanb@linux.ibm.com> | Tue Aug 09 16:04:43 2022 -0400 |
committer | Stefan Berger <stefanb@us.ibm.com> | Tue Aug 09 17:10:37 2022 -0400 |
tree | f2b657120645319426ccb72f7dc50dc774c0f3bc | |
parent | 76001cd26c8800cf21226ff693d8103e2cb2345f [diff] |
tests: Move swtpm_open_cmddev into swtpm_cmd_tx Move swtpm_open_cmddev call into swtpm_cmd_tx since the latter function is always called in a subshell that previously inherited the file descriptor opened by the test cases. Remove swtpm_cmd_tx from nearly all test cases and also remove closing of file descriptor 100 via 'exec 100>&-' from test cases since this is not necessary anymore. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>