What were you trying to do that didn't work?
When we try to run the package upstream tests two times with a normal user, the second time torture_auth_pkcs11 fails when for the first time it was successful.
What is the impact of this issue to you?
Very small since it is successful at the first time.
Please provide the package NVR for which the bug is seen:
libssh-0.10.6-8.el10
How reproducible is this bug?:
Always
Steps to reproduce
- Prepare libssh and apply patches from RPM with rpmbuild
- create test user
- chown test_user:test_user -R /tmp/tmp.4ZYE5mitXm
- run "runuser -u test_user – cmake -DUNIT_TESTING=ON -DDEBUG_PACKET=ON -DWITH_SFTP=ON -DWITH_SERVER=ON -DSERVER_TESTING=ON -DCLIENT_TESTING=ON -DWITH_BENCHMARKS=ON -DWITH_PKCS11_URI=ON -DWITH_PKCS11_PROVIDER=ON <libssh dir>"
- run "runuser -u test_user – make && ctest --output-on-failure"
Expected results
The test will pass no matter how many times we run it.
Actual results
The test fails when we run it for a second time.