From 201401646e45406d6d6c87fb0c12ada3f2addcd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Thu, 10 Oct 2013 12:48:03 +0200 Subject: [PATCH] Fix a few selftest typos --- tests/suites/test_suite_aes.function | 2 +- tests/suites/test_suite_arc4.function | 2 +- tests/suites/test_suite_base64.function | 2 +- tests/suites/test_suite_camellia.function | 2 +- tests/suites/test_suite_cipher.function | 2 +- tests/suites/test_suite_des.function | 2 +- tests/suites/test_suite_dhm.function | 2 +- tests/suites/test_suite_ecp.function | 2 +- tests/suites/test_suite_gcm.function | 2 +- tests/suites/test_suite_mdx.function | 6 +++--- tests/suites/test_suite_mpi.function | 2 +- tests/suites/test_suite_rsa.function | 2 +- tests/suites/test_suite_shax.function | 6 +++--- tests/suites/test_suite_x509parse.function | 2 +- tests/suites/test_suite_xtea.function | 2 +- 15 files changed, 19 insertions(+), 19 deletions(-) diff --git a/tests/suites/test_suite_aes.function b/tests/suites/test_suite_aes.function index 051264e11..e5386bdf1 100644 --- a/tests/suites/test_suite_aes.function +++ b/tests/suites/test_suite_aes.function @@ -197,7 +197,7 @@ void aes_decrypt_cfb128( char *hex_key_string, char *hex_iv_string, } /* END_CASE */ -/* BEGIN_CASE depends_on:POLARSSL_SELFTEST_C */ +/* BEGIN_CASE depends_on:POLARSSL_SELF_TEST */ void aes_selftest() { TEST_ASSERT( aes_self_test( 0 ) == 0 ); diff --git a/tests/suites/test_suite_arc4.function b/tests/suites/test_suite_arc4.function index 759b0c2fa..73df59e53 100644 --- a/tests/suites/test_suite_arc4.function +++ b/tests/suites/test_suite_arc4.function @@ -34,7 +34,7 @@ void arc4_crypt( char *hex_src_string, char *hex_key_string, } /* END_CASE */ -/* BEGIN_CASE depends_on:POLARSSL_SELFTEST_C */ +/* BEGIN_CASE depends_on:POLARSSL_SELF_TEST */ void arc4_selftest() { TEST_ASSERT( arc4_self_test( 0 ) == 0 ); diff --git a/tests/suites/test_suite_base64.function b/tests/suites/test_suite_base64.function index 6ac2f31ec..27b6c134c 100644 --- a/tests/suites/test_suite_base64.function +++ b/tests/suites/test_suite_base64.function @@ -47,7 +47,7 @@ void base64_decode( char *src_string, char *dst_string, int result ) } /* END_CASE */ -/* BEGIN_CASE depends_on:POLARSSL_SELFTEST_C */ +/* BEGIN_CASE depends_on:POLARSSL_SELF_TEST */ void base64_selftest() { TEST_ASSERT( base64_self_test( 0 ) == 0 ); diff --git a/tests/suites/test_suite_camellia.function b/tests/suites/test_suite_camellia.function index 55f6e7a46..59785d2b6 100644 --- a/tests/suites/test_suite_camellia.function +++ b/tests/suites/test_suite_camellia.function @@ -197,7 +197,7 @@ void camellia_decrypt_cfb128( char *hex_key_string, char *hex_iv_string, } /* END_CASE */ -/* BEGIN_CASE depends_on:POLARSSL_SELFTEST_C */ +/* BEGIN_CASE depends_on:POLARSSL_SELF_TEST */ void camellia_selftest() { TEST_ASSERT( camellia_self_test( 0 ) == 0 ); diff --git a/tests/suites/test_suite_cipher.function b/tests/suites/test_suite_cipher.function index 81188ae43..b8f1df3d9 100644 --- a/tests/suites/test_suite_cipher.function +++ b/tests/suites/test_suite_cipher.function @@ -487,7 +487,7 @@ void check_padding( int pad_mode, char *input_str, int ret, int dlen_check ) } /* END_CASE */ -/* BEGIN_CASE depends_on:POLARSSL_SELFTEST_C */ +/* BEGIN_CASE depends_on:POLARSSL_SELF_TEST */ void cipher_selftest() { TEST_ASSERT( cipher_self_test( 0 ) == 0 ); diff --git a/tests/suites/test_suite_des.function b/tests/suites/test_suite_des.function index 5c5c1c907..ee327c917 100644 --- a/tests/suites/test_suite_des.function +++ b/tests/suites/test_suite_des.function @@ -314,7 +314,7 @@ void des_key_parity_run() } /* END_CASE */ -/* BEGIN_CASE depends_on:POLARSSL_SELFTEST_C */ +/* BEGIN_CASE depends_on:POLARSSL_SELF_TEST */ void des_selftest() { TEST_ASSERT( des_self_test( 0 ) == 0 ); diff --git a/tests/suites/test_suite_dhm.function b/tests/suites/test_suite_dhm.function index 6161b4c86..d66998ffe 100644 --- a/tests/suites/test_suite_dhm.function +++ b/tests/suites/test_suite_dhm.function @@ -97,7 +97,7 @@ void dhm_do_dhm( int radix_P, char *input_P, } /* END_CASE */ -/* BEGIN_CASE depends_on:POLARSSL_SELFTEST_C */ +/* BEGIN_CASE depends_on:POLARSSL_SELF_TEST */ void dhm_selftest() { TEST_ASSERT( dhm_self_test( 0 ) == 0 ); diff --git a/tests/suites/test_suite_ecp.function b/tests/suites/test_suite_ecp.function index 11221a158..6981f47d3 100644 --- a/tests/suites/test_suite_ecp.function +++ b/tests/suites/test_suite_ecp.function @@ -515,7 +515,7 @@ void ecp_gen_keypair( int id ) } /* END_CASE */ -/* BEGIN_CASE depends_on:POLARSSL_SELFTEST_C */ +/* BEGIN_CASE depends_on:POLARSSL_SELF_TEST */ void ecp_selftest() { TEST_ASSERT( ecp_self_test( 0 ) == 0 ); diff --git a/tests/suites/test_suite_gcm.function b/tests/suites/test_suite_gcm.function index 349945ad2..b131e7afb 100644 --- a/tests/suites/test_suite_gcm.function +++ b/tests/suites/test_suite_gcm.function @@ -108,7 +108,7 @@ void gcm_decrypt_and_verify( char *hex_key_string, char *hex_src_string, } /* END_CASE */ -/* BEGIN_CASE depends_on:POLARSSL_SELFTEST_C */ +/* BEGIN_CASE depends_on:POLARSSL_SELF_TEST */ void gcm_selftest() { TEST_ASSERT( gcm_self_test( 0 ) == 0 ); diff --git a/tests/suites/test_suite_mdx.function b/tests/suites/test_suite_mdx.function index 649a711bd..e9a834740 100644 --- a/tests/suites/test_suite_mdx.function +++ b/tests/suites/test_suite_mdx.function @@ -187,21 +187,21 @@ void md5_file( char *filename, char *hex_hash_string ) } /* END_CASE */ -/* BEGIN_CASE depends_on:POLARSSL_MD2_C:POLARSSL_SELFTEST_C */ +/* BEGIN_CASE depends_on:POLARSSL_MD2_C:POLARSSL_SELF_TEST */ void md2_selftest() { TEST_ASSERT( md2_self_test( 0 ) == 0 ); } /* END_CASE */ -/* BEGIN_CASE depends_on:POLARSSL_MD4_C:POLARSSL_SELFTEST_C */ +/* BEGIN_CASE depends_on:POLARSSL_MD4_C:POLARSSL_SELF_TEST */ void md4_selftest() { TEST_ASSERT( md4_self_test( 0 ) == 0 ); } /* END_CASE */ -/* BEGIN_CASE depends_on:POLARSSL_MD5_C:POLARSSL_SELFTEST_C */ +/* BEGIN_CASE depends_on:POLARSSL_MD5_C:POLARSSL_SELF_TEST */ void md5_selftest() { TEST_ASSERT( md5_self_test( 0 ) == 0 ); diff --git a/tests/suites/test_suite_mpi.function b/tests/suites/test_suite_mpi.function index 728574990..e08b48d09 100644 --- a/tests/suites/test_suite_mpi.function +++ b/tests/suites/test_suite_mpi.function @@ -681,7 +681,7 @@ void mpi_shift_r( int radix_X, char *input_X, int shift_X, int radix_A, } /* END_CASE */ -/* BEGIN_CASE depends_on:POLARSSL_SELFTEST_C */ +/* BEGIN_CASE depends_on:POLARSSL_SELF_TEST */ void mpi_selftest() { TEST_ASSERT( mpi_self_test( 0 ) == 0 ); diff --git a/tests/suites/test_suite_rsa.function b/tests/suites/test_suite_rsa.function index 9bc8a24bf..29651ccea 100644 --- a/tests/suites/test_suite_rsa.function +++ b/tests/suites/test_suite_rsa.function @@ -532,7 +532,7 @@ void rsa_gen_key( int nrbits, int exponent, int result) } /* END_CASE */ -/* BEGIN_CASE depends_on:POLARSSL_SELFTEST_C */ +/* BEGIN_CASE depends_on:POLARSSL_SELF_TEST */ void rsa_selftest() { TEST_ASSERT( rsa_self_test( 0 ) == 0 ); diff --git a/tests/suites/test_suite_shax.function b/tests/suites/test_suite_shax.function index 64498816b..73190dcb1 100644 --- a/tests/suites/test_suite_shax.function +++ b/tests/suites/test_suite_shax.function @@ -189,21 +189,21 @@ void sha512_file( char *filename, char *hex_hash_string ) } /* END_CASE */ -/* BEGIN_CASE depends_on:POLARSSL_SHA1_C:POLARSSL_SELFTEST_C */ +/* BEGIN_CASE depends_on:POLARSSL_SHA1_C:POLARSSL_SELF_TEST */ void sha1_selftest() { TEST_ASSERT( sha1_self_test( 0 ) == 0 ); } /* END_CASE */ -/* BEGIN_CASE depends_on:POLARSSL_SHA256_C:POLARSSL_SELFTEST_C */ +/* BEGIN_CASE depends_on:POLARSSL_SHA256_C:POLARSSL_SELF_TEST */ void sha256_selftest() { TEST_ASSERT( sha256_self_test( 0 ) == 0 ); } /* END_CASE */ -/* BEGIN_CASE depends_on:POLARSSL_SHA512_C:POLARSSL_SELFTEST_C */ +/* BEGIN_CASE depends_on:POLARSSL_SHA512_C:POLARSSL_SELF_TEST */ void sha512_selftest() { TEST_ASSERT( sha512_self_test( 0 ) == 0 ); diff --git a/tests/suites/test_suite_x509parse.function b/tests/suites/test_suite_x509parse.function index 2add9e3c9..ff5705866 100644 --- a/tests/suites/test_suite_x509parse.function +++ b/tests/suites/test_suite_x509parse.function @@ -224,7 +224,7 @@ void x509parse_crl( char *crl_data, char *result_str, int result ) } /* END_CASE */ -/* BEGIN_CASE depends_on:POLARSSL_X509_CRT_PARSE_C:POLARSSL_SELFTEST_C */ +/* BEGIN_CASE depends_on:POLARSSL_X509_CRT_PARSE_C:POLARSSL_SELF_TEST */ void x509_selftest() { TEST_ASSERT( x509_self_test( 0 ) == 0 ); diff --git a/tests/suites/test_suite_xtea.function b/tests/suites/test_suite_xtea.function index fd6189c8f..091752fdc 100644 --- a/tests/suites/test_suite_xtea.function +++ b/tests/suites/test_suite_xtea.function @@ -59,7 +59,7 @@ void xtea_decrypt_ecb( char *hex_key_string, char *hex_src_string, } /* END_CASE */ -/* BEGIN_CASE depends_on:POLARSSL_SELFTEST_C */ +/* BEGIN_CASE depends_on:POLARSSL_SELF_TEST */ void xtea_selftest() { TEST_ASSERT( xtea_self_test( 0 ) == 0 );