comparison packages/language/c/libc/current/tests/string/strxfrm1.c @ 2:443894e2e912 ecos-v1_2_1-release

Block commit of eCos version 1.2.1
author jlarmour
date Tue, 11 May 1999 12:24:34 +0000
parents 3111d98ba7b3
children c38311975d4f
comparison
equal deleted inserted replaced
1:72f549f0d891 2:443894e2e912
20 // 20 //
21 // The Original Code is eCos - Embedded Cygnus Operating System, released 21 // The Original Code is eCos - Embedded Cygnus Operating System, released
22 // September 30, 1998. 22 // September 30, 1998.
23 // 23 //
24 // The Initial Developer of the Original Code is Cygnus. Portions created 24 // The Initial Developer of the Original Code is Cygnus. Portions created
25 // by Cygnus are Copyright (C) 1998 Cygnus Solutions. All Rights Reserved. 25 // by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved.
26 // ------------------------------------------- 26 // -------------------------------------------
27 // 27 //
28 //####COPYRIGHTEND#### 28 //####COPYRIGHTEND####
29 //================================================================= 29 //=================================================================
30 //#####DESCRIPTIONBEGIN#### 30 //#####DESCRIPTIONBEGIN####
31 // 31 //
32 // Author(s): ctarpy@cygnus.co.uk, jlarmour@cygnus.co.uk 32 // Author(s): ctarpy, jlarmour
33 // Contributors: jlarmour@cygnus.co.uk 33 // Contributors: jlarmour
34 // Date: 1998/6/3 34 // Date: 1998/6/3
35 // Description: Contains testcode for C library strxfrm() function 35 // Description: Contains testcode for C library strxfrm() function
36 // 36 //
37 // 37 //
38 //####DESCRIPTIONEND#### 38 //####DESCRIPTIONEND####
155 // Check return value 155 // Check return value
156 CYG_TEST_PASS_FAIL( (my_strlen(y) == ret), 156 CYG_TEST_PASS_FAIL( (my_strlen(y) == ret),
157 "strxfrm() of NULL string for 0 bytes return value"); 157 "strxfrm() of NULL string for 0 bytes return value");
158 158
159 #else // ifndef CYGPKG_LIBC 159 #else // ifndef CYGPKG_LIBC
160 CYG_TEST_PASS("Testing is not applicable to this configuration"); 160 CYG_TEST_NA("Testing is not applicable to this configuration");
161 #endif // ifndef CYGPKG_LIBC 161 #endif // ifndef CYGPKG_LIBC
162 162
163 CYG_TEST_FINISH("Finished tests from testcase " __FILE__ " for C library " 163 CYG_TEST_FINISH("Finished tests from testcase " __FILE__ " for C library "
164 "strxfrm() function"); 164 "strxfrm() function");
165 } // main() 165 } // main()