RemsimServer Tests: give the remsim server some time to update the slotmap
The check of the slotmap can race if it is requests straight away, because the slotmap might be still in the slotmap list as long the bankd hasn't responded yet.
* Use a TCAP id outside of the TCAP routing range for the M3UA TCAP id. * Test both directions IPA -> M3UA and M3UA -> IPA. * Test TCAP routing with a different called address answering
Fix: Only run pcscd with "--diable-polkit" if supported
For example, if bankd tests run on Debian Bookwork, pcscd does not have the "--disable-polkit" option. This option is not required, because it does not support Polit anyway.
Only add "--disable-polkit" to the command line if supported by pcscd.
Fix bankd connection at RemsimClient_Tests.TC_bank_disconnect_reconnect
After each connection (initial connection and reconnect), the test must wait for the bankd connection to be fully established. Previously the IPA/RSPRO emulation failed, because the socket was closed before sending the acknowledgemen, leading to a 'Broken pipe' error.
Access to pcscd was denied, so that bankd never conneced to the reader. This caused TC_createMapping_exchangeTPDU to fail, because it requires connection to virtual smart card for this test