-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add and use pkcs12 in tls-crypt-v2 e2e test #272
Conversation
I added a test with |
I opened #273 to get openvpn 2.6 installed on the GitHub worker (following the OpenVPN instructions). I guess that would be nice for this here as well :) |
test/e2e/miragevpn-server.sh
Outdated
@@ -28,9 +28,9 @@ trap cleanup EXIT | |||
|
|||
( | |||
sleep 1 | |||
openvpn --cd "$config_dir" --config "client.conf" --dev-type tun --dev "$tun_interface" --writepid "$pidfile" --script-security 2 --up ../client-up.sh > /dev/null | |||
openvpn --cd "$config_dir" --config "client.conf" --dev-type tun --dev "$tun_interface" --writepid "$pidfile" --script-security 2 --up ../client-up.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm undecided about the output here.. somehow it is nice to spot the issues easily in CI, somehow it is also nice to not get a lot of output.
In the end, I'm fine without the redirection to /dev/null. if there's need to see less output, someone invoking the scripts can still redirect to /dev/null. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the redirection to /dev/null to debug in CI. We should add it back, I just forgot.
looks good to me |
This will exercise some of the pkcs12 code.
The two numbers are unfortunately not 100% comparable as for the 2nd numbers I rebased on #273 which covers more code as well. While rebasing I also dropped the "debug" commit which removed the redirection to /dev/null. |
The other PR was at 72.76%, here we're nearly 1% more. |
I squashed the fixup commit before merging |
|
Hmm the coverage dropped slightly after re-adding the /dev/null redirection. My guess is some code paths are slightly timing sensitive in our tests?! |
Should we remove the redirects? As mentioned above, fine with me. |
This will exercise some of the pkcs12 code.
I also removed unused symbolic links.