157718be8SEnji Cooper# $NetBSD: t_ssp.sh,v 1.7 2014/04/06 19:28:59 christos Exp $ 257718be8SEnji Cooper# 357718be8SEnji Cooper# Copyright (c) 2008 The NetBSD Foundation, Inc. 457718be8SEnji Cooper# All rights reserved. 557718be8SEnji Cooper# 657718be8SEnji Cooper# Redistribution and use in source and binary forms, with or without 757718be8SEnji Cooper# modification, are permitted provided that the following conditions 857718be8SEnji Cooper# are met: 957718be8SEnji Cooper# 1. Redistributions of source code must retain the above copyright 1057718be8SEnji Cooper# notice, this list of conditions and the following disclaimer. 1157718be8SEnji Cooper# 2. Redistributions in binary form must reproduce the above copyright 1257718be8SEnji Cooper# notice, this list of conditions and the following disclaimer in the 1357718be8SEnji Cooper# documentation and/or other materials provided with the distribution. 1457718be8SEnji Cooper# 1557718be8SEnji Cooper# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 1657718be8SEnji Cooper# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 1757718be8SEnji Cooper# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 1857718be8SEnji Cooper# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 1957718be8SEnji Cooper# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2057718be8SEnji Cooper# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2157718be8SEnji Cooper# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 2257718be8SEnji Cooper# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 2357718be8SEnji Cooper# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2457718be8SEnji Cooper# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 2557718be8SEnji Cooper# POSSIBILITY OF SUCH DAMAGE. 2657718be8SEnji Cooper# 2757718be8SEnji Cooper 2857718be8SEnji Cooperh_pass() 2957718be8SEnji Cooper{ 3057718be8SEnji Cooper echo "Executing command [ $2$1 ]" 3157718be8SEnji Cooper eval $2 atf_check -s exit:0 -o ignore -e ignore $1 3257718be8SEnji Cooper} 3357718be8SEnji Cooper 3457718be8SEnji Cooperh_fail() 3557718be8SEnji Cooper{ 3657718be8SEnji Cooper echo "Executing command [ $2$1 ]" 37*f001698bSEnji Cooper # Begin FreeBSD 38*f001698bSEnji Cooper if true; then 39*f001698bSEnji Cooper eval $2 atf_check -s signal -o ignore -e ignore $1 40*f001698bSEnji Cooper else 41*f001698bSEnji Cooper # End FreeBSD 4257718be8SEnji Cooper eval $2 atf_check -s signal:6 -o ignore -e ignore $1 43*f001698bSEnji Cooper # Begin FreeBSD 44*f001698bSEnji Cooper fi 45*f001698bSEnji Cooper # End FreeBSD 4657718be8SEnji Cooper} 4757718be8SEnji Cooper 4857718be8SEnji Cooperatf_test_case sprintf 4957718be8SEnji Coopersprintf_head() 5057718be8SEnji Cooper{ 5157718be8SEnji Cooper atf_set "descr" "Checks sprintf(3)" 5257718be8SEnji Cooper} 5357718be8SEnji Coopersprintf_body() 5457718be8SEnji Cooper{ 5557718be8SEnji Cooper prog="$(atf_get_srcdir)/h_sprintf" 5657718be8SEnji Cooper 5757718be8SEnji Cooper h_pass "$prog ok" 58*f001698bSEnji Cooper # Begin FreeBSD 59*f001698bSEnji Cooper if true; then 60*f001698bSEnji Cooper h_fail "$prog 0123456789ab" 61*f001698bSEnji Cooper else 62*f001698bSEnji Cooper # End FreeBSD 6357718be8SEnji Cooper h_fail "$prog 0123456789" 64*f001698bSEnji Cooper # Begin FreeBSD 65*f001698bSEnji Cooper fi 66*f001698bSEnji Cooper # End FreeBSD 6757718be8SEnji Cooper} 6857718be8SEnji Cooper 6957718be8SEnji Cooperatf_test_case vsprintf 7057718be8SEnji Coopervsprintf_head() 7157718be8SEnji Cooper{ 7257718be8SEnji Cooper atf_set "descr" "Checks vsprintf(3)" 7357718be8SEnji Cooper} 7457718be8SEnji Coopervsprintf_body() 7557718be8SEnji Cooper{ 7657718be8SEnji Cooper prog="$(atf_get_srcdir)/h_vsprintf" 7757718be8SEnji Cooper 7857718be8SEnji Cooper h_pass "$prog ok" 79*f001698bSEnji Cooper # Begin FreeBSD 80*f001698bSEnji Cooper if true; then 81*f001698bSEnji Cooper h_fail "$prog 0123456789ab" 82*f001698bSEnji Cooper else 83*f001698bSEnji Cooper # End FreeBSD 8457718be8SEnji Cooper h_fail "$prog 0123456789" 85*f001698bSEnji Cooper # Begin FreeBSD 86*f001698bSEnji Cooper fi 87*f001698bSEnji Cooper # End FreeBSD 8857718be8SEnji Cooper} 8957718be8SEnji Cooper 9057718be8SEnji Cooperatf_test_case snprintf 9157718be8SEnji Coopersnprintf_head() 9257718be8SEnji Cooper{ 9357718be8SEnji Cooper atf_set "descr" "Checks snprintf(3)" 9457718be8SEnji Cooper} 9557718be8SEnji Coopersnprintf_body() 9657718be8SEnji Cooper{ 9757718be8SEnji Cooper prog="$(atf_get_srcdir)/h_snprintf" 9857718be8SEnji Cooper 9957718be8SEnji Cooper h_pass "$prog 10" 100*f001698bSEnji Cooper # Begin FreeBSD 101*f001698bSEnji Cooper if true; then 102*f001698bSEnji Cooper h_fail "$prog 13" 103*f001698bSEnji Cooper else 104*f001698bSEnji Cooper # End FreeBSD 10557718be8SEnji Cooper h_fail "$prog 11" 106*f001698bSEnji Cooper # Begin FreeBSD 107*f001698bSEnji Cooper fi 108*f001698bSEnji Cooper # End FreeBSD 10957718be8SEnji Cooper} 11057718be8SEnji Cooper 11157718be8SEnji Cooperatf_test_case vsnprintf 11257718be8SEnji Coopervsnprintf_head() 11357718be8SEnji Cooper{ 11457718be8SEnji Cooper atf_set "descr" "Checks vsnprintf(3)" 11557718be8SEnji Cooper} 11657718be8SEnji Coopervsnprintf_body() 11757718be8SEnji Cooper{ 11857718be8SEnji Cooper prog="$(atf_get_srcdir)/h_vsnprintf" 11957718be8SEnji Cooper 12057718be8SEnji Cooper h_pass "$prog 10" 121*f001698bSEnji Cooper # Begin FreeBSD 122*f001698bSEnji Cooper if true; then 123*f001698bSEnji Cooper h_fail "$prog 13" 124*f001698bSEnji Cooper else 125*f001698bSEnji Cooper # End FreeBSD 12657718be8SEnji Cooper h_fail "$prog 11" 127*f001698bSEnji Cooper # Begin FreeBSD 128*f001698bSEnji Cooper fi 129*f001698bSEnji Cooper # End FreeBSD 13057718be8SEnji Cooper} 13157718be8SEnji Cooper 13257718be8SEnji Cooperatf_test_case gets 13357718be8SEnji Coopergets_head() 13457718be8SEnji Cooper{ 13557718be8SEnji Cooper atf_set "descr" "Checks gets(3)" 13657718be8SEnji Cooper} 13757718be8SEnji Coopergets_body() 13857718be8SEnji Cooper{ 13957718be8SEnji Cooper prog="$(atf_get_srcdir)/h_gets" 14057718be8SEnji Cooper 14157718be8SEnji Cooper h_pass "$prog" "echo ok |" 142*f001698bSEnji Cooper # Begin FreeBSD 143*f001698bSEnji Cooper if true; then 144*f001698bSEnji Cooper h_fail "$prog" "echo 0123456789ab |" 145*f001698bSEnji Cooper else 146*f001698bSEnji Cooper # End FreeBSD 14757718be8SEnji Cooper h_fail "$prog" "echo 0123456789 |" 148*f001698bSEnji Cooper # Begin FreeBSD 149*f001698bSEnji Cooper fi 150*f001698bSEnji Cooper # End FreeBSD 15157718be8SEnji Cooper} 15257718be8SEnji Cooper 15357718be8SEnji Cooperatf_test_case fgets 15457718be8SEnji Cooperfgets_head() 15557718be8SEnji Cooper{ 15657718be8SEnji Cooper atf_set "descr" "Checks fgets(3)" 15757718be8SEnji Cooper} 15857718be8SEnji Cooperfgets_body() 15957718be8SEnji Cooper{ 16057718be8SEnji Cooper prog="$(atf_get_srcdir)/h_fgets" 16157718be8SEnji Cooper 16257718be8SEnji Cooper h_pass "$prog 10" "echo ok |" 163*f001698bSEnji Cooper # Begin FreeBSD 164*f001698bSEnji Cooper if true; then 165*f001698bSEnji Cooper h_fail "$prog 13" "echo 0123456789abc |" 166*f001698bSEnji Cooper else 167*f001698bSEnji Cooper # End FreeBSD 16857718be8SEnji Cooper h_fail "$prog 11" "echo busted |" 169*f001698bSEnji Cooper # Begin FreeBSD 170*f001698bSEnji Cooper fi 171*f001698bSEnji Cooper # End FreeBSD 17257718be8SEnji Cooper} 17357718be8SEnji Cooper 17457718be8SEnji Cooperatf_test_case memcpy 17557718be8SEnji Coopermemcpy_head() 17657718be8SEnji Cooper{ 17757718be8SEnji Cooper atf_set "descr" "Checks memcpy(3)" 17857718be8SEnji Cooper} 17957718be8SEnji Coopermemcpy_body() 18057718be8SEnji Cooper{ 18157718be8SEnji Cooper prog="$(atf_get_srcdir)/h_memcpy" 18257718be8SEnji Cooper 18357718be8SEnji Cooper h_pass "$prog 10" 184*f001698bSEnji Cooper # Begin FreeBSD 185*f001698bSEnji Cooper if true; then 186*f001698bSEnji Cooper h_fail "$prog 13" 187*f001698bSEnji Cooper else 188*f001698bSEnji Cooper # End FreeBSD 18957718be8SEnji Cooper h_fail "$prog 11" 190*f001698bSEnji Cooper # Begin FreeBSD 191*f001698bSEnji Cooper fi 192*f001698bSEnji Cooper # End FreeBSD 19357718be8SEnji Cooper} 19457718be8SEnji Cooper 19557718be8SEnji Cooperatf_test_case memmove 19657718be8SEnji Coopermemmove_head() 19757718be8SEnji Cooper{ 19857718be8SEnji Cooper atf_set "descr" "Checks memmove(3)" 19957718be8SEnji Cooper} 20057718be8SEnji Coopermemmove_body() 20157718be8SEnji Cooper{ 20257718be8SEnji Cooper prog="$(atf_get_srcdir)/h_memmove" 20357718be8SEnji Cooper 20457718be8SEnji Cooper h_pass "$prog 10" 205*f001698bSEnji Cooper # Begin FreeBSD 206*f001698bSEnji Cooper if true; then 207*f001698bSEnji Cooper h_fail "$prog 13" 208*f001698bSEnji Cooper else 209*f001698bSEnji Cooper # End FreeBSD 21057718be8SEnji Cooper h_fail "$prog 11" 211*f001698bSEnji Cooper # Begin FreeBSD 212*f001698bSEnji Cooper fi 213*f001698bSEnji Cooper # End FreeBSD 21457718be8SEnji Cooper} 21557718be8SEnji Cooper 21657718be8SEnji Cooperatf_test_case memset 21757718be8SEnji Coopermemset_head() 21857718be8SEnji Cooper{ 21957718be8SEnji Cooper atf_set "descr" "Checks memset(3)" 22057718be8SEnji Cooper} 22157718be8SEnji Coopermemset_body() 22257718be8SEnji Cooper{ 22357718be8SEnji Cooper prog="$(atf_get_srcdir)/h_memset" 22457718be8SEnji Cooper 22557718be8SEnji Cooper h_pass "$prog 10" 226*f001698bSEnji Cooper # Begin FreeBSD 227*f001698bSEnji Cooper if true; then 228*f001698bSEnji Cooper h_fail "$prog 13" 229*f001698bSEnji Cooper else 230*f001698bSEnji Cooper # End FreeBSD 23157718be8SEnji Cooper h_fail "$prog 11" 232*f001698bSEnji Cooper # Begin FreeBSD 233*f001698bSEnji Cooper fi 234*f001698bSEnji Cooper # End FreeBSD 23557718be8SEnji Cooper} 23657718be8SEnji Cooper 23757718be8SEnji Cooperatf_test_case strcpy 23857718be8SEnji Cooperstrcpy_head() 23957718be8SEnji Cooper{ 24057718be8SEnji Cooper atf_set "descr" "Checks strcpy(3)" 24157718be8SEnji Cooper} 24257718be8SEnji Cooperstrcpy_body() 24357718be8SEnji Cooper{ 24457718be8SEnji Cooper prog="$(atf_get_srcdir)/h_strcpy" 24557718be8SEnji Cooper 24657718be8SEnji Cooper h_pass "$prog 0123456" 247*f001698bSEnji Cooper # Begin FreeBSD 248*f001698bSEnji Cooper if true; then 249*f001698bSEnji Cooper h_fail "$prog 0123456789ab" 250*f001698bSEnji Cooper else 251*f001698bSEnji Cooper # End FreeBSD 25257718be8SEnji Cooper h_fail "$prog 0123456789" 253*f001698bSEnji Cooper # Begin FreeBSD 254*f001698bSEnji Cooper fi 255*f001698bSEnji Cooper # End FreeBSD 25657718be8SEnji Cooper} 25757718be8SEnji Cooper 25857718be8SEnji Cooperatf_test_case stpcpy 25957718be8SEnji Cooperstpcpy_head() 26057718be8SEnji Cooper{ 26157718be8SEnji Cooper atf_set "descr" "Checks stpcpy(3)" 26257718be8SEnji Cooper} 26357718be8SEnji Cooperstpcpy_body() 26457718be8SEnji Cooper{ 26557718be8SEnji Cooper prog="$(atf_get_srcdir)/h_stpcpy" 26657718be8SEnji Cooper 26757718be8SEnji Cooper h_pass "$prog 0123456" 268*f001698bSEnji Cooper # Begin FreeBSD 269*f001698bSEnji Cooper if true; then 270*f001698bSEnji Cooper h_fail "$prog 0123456789ab" 271*f001698bSEnji Cooper else 272*f001698bSEnji Cooper # End FreeBSD 27357718be8SEnji Cooper h_fail "$prog 0123456789" 274*f001698bSEnji Cooper # Begin FreeBSD 275*f001698bSEnji Cooper fi 276*f001698bSEnji Cooper # End FreeBSD 27757718be8SEnji Cooper} 27857718be8SEnji Cooper 27957718be8SEnji Cooperatf_test_case strcat 28057718be8SEnji Cooperstrcat_head() 28157718be8SEnji Cooper{ 28257718be8SEnji Cooper atf_set "descr" "Checks strcat(3)" 28357718be8SEnji Cooper} 28457718be8SEnji Cooperstrcat_body() 28557718be8SEnji Cooper{ 28657718be8SEnji Cooper prog="$(atf_get_srcdir)/h_strcat" 28757718be8SEnji Cooper 28857718be8SEnji Cooper h_pass "$prog 0123456" 28957718be8SEnji Cooper h_fail "$prog 0123456789ABCDEF" 29057718be8SEnji Cooper} 29157718be8SEnji Cooper 29257718be8SEnji Cooperatf_test_case strncpy 29357718be8SEnji Cooperstrncpy_head() 29457718be8SEnji Cooper{ 29557718be8SEnji Cooper atf_set "descr" "Checks strncpy(3)" 29657718be8SEnji Cooper} 29757718be8SEnji Cooperstrncpy_body() 29857718be8SEnji Cooper{ 29957718be8SEnji Cooper prog="$(atf_get_srcdir)/h_strncpy" 30057718be8SEnji Cooper 30157718be8SEnji Cooper h_pass "$prog 10" 302*f001698bSEnji Cooper # Begin FreeBSD 303*f001698bSEnji Cooper if true; then 304*f001698bSEnji Cooper h_fail "$prog 13" 305*f001698bSEnji Cooper else 306*f001698bSEnji Cooper # End FreeBSD 30757718be8SEnji Cooper h_fail "$prog 11" 308*f001698bSEnji Cooper # Begin FreeBSD 309*f001698bSEnji Cooper fi 310*f001698bSEnji Cooper # End FreeBSD 31157718be8SEnji Cooper} 31257718be8SEnji Cooper 31357718be8SEnji Cooperatf_test_case stpncpy 31457718be8SEnji Cooperstpncpy_head() 31557718be8SEnji Cooper{ 31657718be8SEnji Cooper atf_set "descr" "Checks stpncpy(3)" 31757718be8SEnji Cooper} 31857718be8SEnji Cooperstpncpy_body() 31957718be8SEnji Cooper{ 32057718be8SEnji Cooper prog="$(atf_get_srcdir)/h_stpncpy" 32157718be8SEnji Cooper 32257718be8SEnji Cooper h_pass "$prog 10" 323*f001698bSEnji Cooper # Begin FreeBSD 324*f001698bSEnji Cooper if true; then 325*f001698bSEnji Cooper h_fail "$prog 13" 326*f001698bSEnji Cooper else 327*f001698bSEnji Cooper # End FreeBSD 32857718be8SEnji Cooper h_fail "$prog 11" 329*f001698bSEnji Cooper # Begin FreeBSD 330*f001698bSEnji Cooper fi 331*f001698bSEnji Cooper # End FreeBSD 33257718be8SEnji Cooper} 33357718be8SEnji Cooper 33457718be8SEnji Cooperatf_test_case strncat 33557718be8SEnji Cooperstrncat_head() 33657718be8SEnji Cooper{ 33757718be8SEnji Cooper atf_set "descr" "Checks strncat(3)" 33857718be8SEnji Cooper} 33957718be8SEnji Cooperstrncat_body() 34057718be8SEnji Cooper{ 34157718be8SEnji Cooper prog="$(atf_get_srcdir)/h_strncat" 34257718be8SEnji Cooper 343*f001698bSEnji Cooper # Begin FreeBSD 34457718be8SEnji Cooper h_pass "$prog 8" 345*f001698bSEnji Cooper if true; then 346*f001698bSEnji Cooper h_fail "$prog 11" 347*f001698bSEnji Cooper else 348*f001698bSEnji Cooper # End FreeBSD 34957718be8SEnji Cooper h_fail "$prog 9" 350*f001698bSEnji Cooper # Begin FreeBSD 351*f001698bSEnji Cooper fi 352*f001698bSEnji Cooper # End FreeBSD 35357718be8SEnji Cooper} 35457718be8SEnji Cooper 35557718be8SEnji Cooperatf_test_case raw 35657718be8SEnji Cooperraw_head() 35757718be8SEnji Cooper{ 35857718be8SEnji Cooper atf_set "descr" "Checks raw array overflow" 35957718be8SEnji Cooper} 36057718be8SEnji Cooperraw_body() 36157718be8SEnji Cooper{ 36257718be8SEnji Cooper prog="$(atf_get_srcdir)/h_raw" 36357718be8SEnji Cooper 36457718be8SEnji Cooper h_pass "$prog 9" 365*f001698bSEnji Cooper # Begin FreeBSD 366*f001698bSEnji Cooper if true; then 367*f001698bSEnji Cooper h_fail "$prog 12" 368*f001698bSEnji Cooper else 369*f001698bSEnji Cooper # End FreeBSD 37057718be8SEnji Cooper h_fail "$prog 10" 371*f001698bSEnji Cooper # Begin FreeBSD 372*f001698bSEnji Cooper fi 373*f001698bSEnji Cooper # End FreeBSD 37457718be8SEnji Cooper} 37557718be8SEnji Cooper 37657718be8SEnji Cooperatf_test_case read 37757718be8SEnji Cooperread_head() 37857718be8SEnji Cooper{ 37957718be8SEnji Cooper atf_set "descr" "Checks read(2)" 38057718be8SEnji Cooper} 38157718be8SEnji Cooperread_body() 38257718be8SEnji Cooper{ 38357718be8SEnji Cooper prog="$(atf_get_srcdir)/h_read" 38457718be8SEnji Cooper 38557718be8SEnji Cooper h_pass "$prog 1024" "echo foo |" 386*f001698bSEnji Cooper # Begin FreeBSD 387*f001698bSEnji Cooper if true; then 388*f001698bSEnji Cooper h_fail "$prog 1027" "echo bar |" 389*f001698bSEnji Cooper else 390*f001698bSEnji Cooper # End FreeBSD 39157718be8SEnji Cooper h_fail "$prog 1025" "echo bar |" 392*f001698bSEnji Cooper # Begin FreeBSD 393*f001698bSEnji Cooper fi 394*f001698bSEnji Cooper # End FreeBSD 39557718be8SEnji Cooper} 39657718be8SEnji Cooper 39757718be8SEnji Cooperatf_test_case readlink 39857718be8SEnji Cooperreadlink_head() 39957718be8SEnji Cooper{ 40057718be8SEnji Cooper atf_set "descr" "Checks readlink(2)" 40157718be8SEnji Cooper} 40257718be8SEnji Cooperreadlink_body() 40357718be8SEnji Cooper{ 40457718be8SEnji Cooper prog="$(atf_get_srcdir)/h_readlink" 40557718be8SEnji Cooper 406*f001698bSEnji Cooper # Begin FreeBSD 407*f001698bSEnji Cooper if true; then 408*f001698bSEnji Cooper h_pass "$prog 512" 409*f001698bSEnji Cooper h_fail "$prog 523" 410*f001698bSEnji Cooper else 411*f001698bSEnji Cooper # End FreeBSD 41257718be8SEnji Cooper h_pass "$prog 1024" 41357718be8SEnji Cooper h_fail "$prog 1025" 414*f001698bSEnji Cooper # Begin FreeBSD 415*f001698bSEnji Cooper fi 416*f001698bSEnji Cooper # End FreeBSD 41757718be8SEnji Cooper} 41857718be8SEnji Cooper 41957718be8SEnji Cooperatf_test_case getcwd 42057718be8SEnji Coopergetcwd_head() 42157718be8SEnji Cooper{ 42257718be8SEnji Cooper atf_set "descr" "Checks getcwd(3)" 42357718be8SEnji Cooper} 42457718be8SEnji Coopergetcwd_body() 42557718be8SEnji Cooper{ 42657718be8SEnji Cooper prog="$(atf_get_srcdir)/h_getcwd" 42757718be8SEnji Cooper 42857718be8SEnji Cooper h_pass "$prog 1024" 429*f001698bSEnji Cooper # Begin FreeBSD 430*f001698bSEnji Cooper if false; then 431*f001698bSEnji Cooper # End FreeBSD 43257718be8SEnji Cooper h_fail "$prog 1025" 433*f001698bSEnji Cooper # Begin FreeBSD 434*f001698bSEnji Cooper fi 435*f001698bSEnji Cooper # End FreeBSD 43657718be8SEnji Cooper} 43757718be8SEnji Cooper 43857718be8SEnji Cooperatf_init_test_cases() 43957718be8SEnji Cooper{ 44057718be8SEnji Cooper atf_add_test_case sprintf 44157718be8SEnji Cooper atf_add_test_case vsprintf 44257718be8SEnji Cooper atf_add_test_case snprintf 44357718be8SEnji Cooper atf_add_test_case vsnprintf 44457718be8SEnji Cooper atf_add_test_case gets 44557718be8SEnji Cooper atf_add_test_case fgets 44657718be8SEnji Cooper atf_add_test_case memcpy 44757718be8SEnji Cooper atf_add_test_case memmove 44857718be8SEnji Cooper atf_add_test_case memset 44957718be8SEnji Cooper atf_add_test_case stpcpy 45057718be8SEnji Cooper atf_add_test_case stpncpy 45157718be8SEnji Cooper atf_add_test_case strcat 45257718be8SEnji Cooper atf_add_test_case strcpy 45357718be8SEnji Cooper atf_add_test_case strncat 45457718be8SEnji Cooper atf_add_test_case strncpy 45557718be8SEnji Cooper atf_add_test_case raw 45657718be8SEnji Cooper atf_add_test_case read 45757718be8SEnji Cooper atf_add_test_case readlink 45857718be8SEnji Cooper atf_add_test_case getcwd 45957718be8SEnji Cooper} 460