diff options
Diffstat (limited to 'deps/openssl/openssl/test/recipes/03-test_ui.t')
-rw-r--r-- | deps/openssl/openssl/test/recipes/03-test_ui.t | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/deps/openssl/openssl/test/recipes/03-test_ui.t b/deps/openssl/openssl/test/recipes/03-test_ui.t index b1065d1bdb..cf2f5acdd4 100644 --- a/deps/openssl/openssl/test/recipes/03-test_ui.t +++ b/deps/openssl/openssl/test/recipes/03-test_ui.t @@ -8,23 +8,6 @@ use strict; use warnings; -use OpenSSL::Test; +use OpenSSL::Test::Simple; -setup("test_ui"); - -plan tests => 1; - -note <<"EOF"; -The best way to test the UI interface is currently by using an openssl -command that uses password_callback. The only one that does this is -'genrsa'. -Since password_callback uses a UI method derived from UI_OpenSSL(), it -ensures that one gets tested well enough as well. -EOF - -my $outfile = "rsa_$$.pem"; -ok(run(app(["openssl", "genrsa", "-passout", "pass:password", "-aes128", - "-out", $outfile])), - "Checking that genrsa with a password works properly"); - -unlink $outfile; +simple_test("test_ui", "uitest", "ui"); |