mirror of https://github.com/openssl/openssl.git
				
				
				
			Fix test documentation.
The instructions don't work. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Ben Kaduk <kaduk@mit.edu> (Merged from https://github.com/openssl/openssl/pull/4349)
This commit is contained in:
		
							parent
							
								
									a9c0d8beea
								
							
						
					
					
						commit
						f90486f4de
					
				|  | @ -50,7 +50,7 @@ The second argument to `simple_test' is the test executable, and `simple_test' | ||||||
| expects it to be located in test/ | expects it to be located in test/ | ||||||
| 
 | 
 | ||||||
| For documentation on OpenSSL::Test::Simple, do | For documentation on OpenSSL::Test::Simple, do | ||||||
| `perldoc test/testlib/OpenSSL/Test/Simple.pm'. | `perldoc util/perl/OpenSSL/Test/Simple.pm'. | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| A recipe that runs a more complex test | A recipe that runs a more complex test | ||||||
|  | @ -58,7 +58,7 @@ A recipe that runs a more complex test | ||||||
| 
 | 
 | ||||||
| For more complex tests, you will need to read up on Test::More and | For more complex tests, you will need to read up on Test::More and | ||||||
| OpenSSL::Test.  Test::More is normally preinstalled, do `man Test::More' for | OpenSSL::Test.  Test::More is normally preinstalled, do `man Test::More' for | ||||||
| documentation.  For OpenSSL::Test, do `perldoc test/testlib/OpenSSL/Test.pm'. | documentation.  For OpenSSL::Test, do `perldoc util/perl/OpenSSL/Test.pm'. | ||||||
| 
 | 
 | ||||||
| A script to start from could be this: | A script to start from could be this: | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -222,7 +222,7 @@ client => { | ||||||
| ``` | ``` | ||||||
| $ ./config | $ ./config | ||||||
| $ cd test | $ cd test | ||||||
| $ TOP=.. perl -I testlib/ generate_ssl_tests.pl ssl-tests/my.conf.in \ | $ TOP=.. perl -I ../util/perl/ generate_ssl_tests.pl ssl-tests/my.conf.in \ | ||||||
|   > ssl-tests/my.conf |   > ssl-tests/my.conf | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  | @ -231,7 +231,7 @@ where `my.conf.in` is your test input file. | ||||||
| For example, to generate the test cases in `ssl-tests/01-simple.conf.in`, do | For example, to generate the test cases in `ssl-tests/01-simple.conf.in`, do | ||||||
| 
 | 
 | ||||||
| ``` | ``` | ||||||
| $ TOP=.. perl -I testlib/ generate_ssl_tests.pl ssl-tests/01-simple.conf.in > ssl-tests/01-simple.conf | $ TOP=.. perl -I ../util/perl/ generate_ssl_tests.pl ssl-tests/01-simple.conf.in > ssl-tests/01-simple.conf | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| Alternatively (hackish but simple), you can comment out | Alternatively (hackish but simple), you can comment out | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue