1# disabled_tests.txt: list of tests which cannot (currently) be built 2# for Android/bionic 3 4# POSIX functions not implemented in bionic 5confstr01 6fmtmsg01 7gethostid01 8ulimit01 9 10# Non-POSIX functions not implemented in bionic 11getcontext01 12mallopt01 13profil01 14stime01 15stime02 16## Uses SHM_LOCKED 17shmctl07 18 19# Test SysV IPC, which is not allowed in Android kernels. 20 21cve-2017-5669 22hugeshmat01 23hugeshmat02 24hugeshmat03 25hugeshmat04 26hugeshmat05 27hugeshmctl01 28hugeshmctl02 29hugeshmctl03 30hugeshmdt01 31hugeshmget01 32hugeshmget02 33hugeshmget03 34hugeshmget05 35mallocstress 36mesgq_nstest 37message_queue_test_01 38message_queue_test_02_ctl 39message_queue_test_02_get 40message_queue_test_02_rcv 41message_queue_test_02_snd 42message_queue_test_04 43message_queue_test_05 44msg_comm 45msgctl01 46msgctl02 47msgctl03 48msgctl04 49msgctl05 50msgctl06 51msgctl07 52msgctl08 53msgctl09 54msgctl10 55msgctl11 56msgctl12 57msgctl13 58msgget01 59msgget02 60msgget03 61msgget04 62msgrcv01 63msgrcv02 64msgrcv03 65msgrcv04 66msgrcv05 67msgrcv06 68msgrcv07 69msgrcv08 70msgsnd01 71msgsnd02 72msgsnd03 73msgsnd04 74msgsnd05 75msgsnd06 76msgstress01 77msgstress02 78msgstress03 79msgstress04 80remap_file_pages01 81sem01 82sem02 83sem_comm 84sem_nstest 85semaphore_test_01 86semaphore_test_02 87semaphore_test_03 88semctl01 89semctl02 90semctl03 91semctl04 92semctl05 93semctl06 94semctl07 95semget01 96semget02 97semget03 98semget05 99semget06 100semop01 101semop02 102semop03 103semop04 104semop05 105semtest_2ns 106setns02 107shm_comm 108shm_test 109shmat01 110shmat02 111shmat03 112shmat1 113shmctl01 114shmctl02 115shmctl03 116shmctl04 117shmctl05 118shmctl06 119shmctl07 120shmctl08 121shmdt01 122shmdt02 123shmem_2nstest 124shmem_test_01 125shmem_test_02 126shmem_test_03 127shmem_test_04 128shmem_test_05 129shmem_test_06 130shmem_test_07 131shmget01 132shmget02 133shmget03 134shmget04 135shmget05 136shmget06 137shmnstest 138shmt02 139shmt03 140shmt04 141shmt05 142shmt06 143shmt07 144shmt08 145shmt09 146shmt10 147# Require SysV IPC, but don't directly test it -- these could potentially be 148# wrapped with ashmem 149cpuset_memory_test 150diotest4 151doio 152futex_wait02 153futex_wake03 154hugemmap05 155kill05 156kill07 157madvise03 158memcg_process 159mremap04 160open12 161openat02 162process 163sendmsg02 164 165# needs gzip -r 166gzip_tests.sh 167 168# needs mv -b 169mv_tests.sh 170 171# needs tar -d, tar -r 172tar_tests.sh 173 174# needs wc --long-options 175wc01.sh 176 177# needs which --long-options 178which01.sh 179 180# Following tests are for commands that are not available on Android 181# device 182ar01 183at_allow01 184at_deny01 185cron02 186cron03 187cron_allow01 188cron_deny01 189cron_dirs_check 190cron_dirs_checks01 191cron_illegal_cron_lines 192cron_neg_tests.sh 193cron_pos_tests.sh 194cron_tests.sh 195du01.sh 196eject_check_tray 197eject-tests.sh 198file_test.sh 199insmod01.sh 200keyctl01.sh 201ld01 202ldd01 203lddfile.out 204lddfile1.obj.so 205lddfile2.obj.so 206lddfile3.obj.so 207lddfile4.obj.so 208lddfile5.obj.so 209logrotate_tests.sh 210lsmod01.sh 211mail_tests.sh 212mkswap01.sh 213nm01 214sssd01 215sssd02 216sssd03 217sssd-lib.sh 218su01 219su01_s1 220su_set_passwd 221tpm_changeauth_tests.sh 222tpm_changeauth_tests_exp01.sh 223tpm_changeauth_tests_exp02.sh 224tpm_changeauth_tests_exp03.sh 225tpm_clear_tests.sh 226tpm_clear_tests_exp01.sh 227tpm_getpubek_tests.sh 228tpm_getpubek_tests_exp01.sh 229tpm_restrictpubek_tests.sh 230tpm_restrictpubek_tests_exp01.sh 231tpm_restrictpubek_tests_exp02.sh 232tpm_restrictpubek_tests_exp03.sh 233tpm_selftest_tests.sh 234tpm_takeownership_tests.sh 235tpm_takeownership_tests_exp01.sh 236tpm_version_tests.sh 237tpmtoken_import_tests.sh 238tpmtoken_import_tests_exp01.sh 239tpmtoken_import_tests_exp02.sh 240tpmtoken_import_tests_exp03.sh 241tpmtoken_import_tests_exp04.sh 242tpmtoken_import_tests_exp05.sh 243tpmtoken_import_tests_exp06.sh 244tpmtoken_import_tests_exp07.sh 245tpmtoken_import_tests_exp08.sh 246tpmtoken_init_tests.sh 247tpmtoken_init_tests_exp00.sh 248tpmtoken_init_tests_exp01.sh 249tpmtoken_init_tests_exp02.sh 250tpmtoken_init_tests_exp03.sh 251tpmtoken_objects_tests.sh 252tpmtoken_objects_tests_exp01.sh 253tpmtoken_protect_tests.sh 254tpmtoken_protect_tests_exp01.sh 255tpmtoken_protect_tests_exp02.sh 256tpmtoken_setpasswd_tests.sh 257tpmtoken_setpasswd_tests_exp01.sh 258tpmtoken_setpasswd_tests_exp02.sh 259tpmtoken_setpasswd_tests_exp03.sh 260tpmtoken_setpasswd_tests_exp04.sh 261unzip_tests.sh 262 263# Following tests are for containers which Android doesn't support / use. 264# Some of these also require SysV IPC, so they need to be disabled anyway. 265mountns01 266mountns02 267mountns03 268mountns04 269mesgq_nstest 270mqns_01 271mqns_02 272mqns_03 273mqns_04 274msg_comm 275netns_breakns.sh 276netns_comm.sh 277netns_helper.sh 278netns_netlink 279netns_sysfs.sh 280ns_create 281ns_exec 282ns_ifmove 283pidns01 284pidns02 285pidns03 286pidns04 287pidns05 288pidns06 289pidns10 290pidns12 291pidns13 292pidns16 293pidns17 294pidns20 295pidns30 296pidns31 297pidns32 298runipctests_noltp.sh 299runutstests_noltp.sh 300sem_comm 301sem_nstest 302semtest_2ns 303setns_check 304shm_comm 305shmem_2nstest 306shmnstest 307userns01 308userns02 309userns03 310userns04 311userns05 312userns06 313userns06_capcheck 314userns07 315userns08 316utstest 317 318# Following test require 'syslogd' running on device which Android doesn't 319# support 320syslog01 321syslog02 322syslog03 323syslog04 324syslog05 325syslog06 326syslog07 327syslog08 328syslog09 329syslog10 330syslog-lib.sh 331 332# Require mkfs on device 333access06 334chmod06 335chown04 336chown04_16 337creat06 338df01.sh 339mkfs01.sh 340 341# Requires mksquashfs 342squashfs01 343 344# Requires glob() 345epoll-test 346 347# Requires termios.h 348ioctl02 349 350# Require aio.h 351growfiles 352pipeio 353 354# Require mqueue 355mq_timedsend01 356mq_notify01 357mq_notify02 358mq_open01 359mq_timedreceive01 360mq_unlink01 361mqns_01 362mqns_02 363mqns_03 364mqns_04 365pidns30 366pidns31 367 368# Require rpc(3) 369rpc_server 370rpc1 371 372# Broken by bionic struct in6_addr definition 373in6_01 374 375# bionic doesn't expose resolver routines to the public 376mc_gethost 377 378# Require mkfifo 379gf12 380gf13 381 382# Case designed only for i386 383f00f 384 385# build error due to unavailability of eaccess() 386prot_hsymlinks 387 388# The following test prebuilds are disabled due to build error on AOSP 389ldmain.obj 390rd1.obj 391d1.obj 392test_arch_debug 393nmfile3.obj 394nmfile1.obj 395test 396check_tray 397test_arch_stripped 398rf1.obj 399test_arch.obj 400f1.obj 401nmfile.obj 402nmfile2.obj 403 404# The following test cases are disabled due to a disabled cflags 405 406# TODO b/69263988 407# The leapsec timer test relies on manipulations of the system time 408# which may be disrupted if the device is configured to use network time. 409leapsec_timer 410 411# b/70174578 412# The getrusage03 test is dependent on the runtime environment and the current 413# memory pressure in the system, making it a poor choice to include in a 414# compliance test suite. 415getrusage03 416 417# input03 depends on /dev/input/mice which may not exist 418input03 419 420# Following test is flaky at best and renders the device unusable 421# after running. 422min_free_kbytes 423 424# Disable prebuilts that have no dependency on existing tests. The following prebuilts are disabled 425# as the only script that uses it is testscripts/test_fs_bind.sh. We currently do not support 'testscripts' 426# build for Android. 427testcases/bin/fs_bind/bind/test01 428testcases/bin/fs_bind/bind/test02 429testcases/bin/fs_bind/bind/test03 430testcases/bin/fs_bind/bind/test04 431testcases/bin/fs_bind/bind/test05 432testcases/bin/fs_bind/bind/test06 433testcases/bin/fs_bind/bind/test07 434testcases/bin/fs_bind/bind/test07-2 435testcases/bin/fs_bind/bind/test08 436testcases/bin/fs_bind/bind/test09 437testcases/bin/fs_bind/bind/test13 438testcases/bin/fs_bind/bind/test17 439testcases/bin/fs_bind/bind/test20 440testcases/bin/fs_bind/bind/test21 441testcases/bin/fs_bind/bind/test22 442testcases/bin/fs_bind/bind/test23 443testcases/bin/fs_bind/bind/test24 444testcases/bin/fs_bind/cloneNS/test01 445testcases/bin/fs_bind/cloneNS/test02 446testcases/bin/fs_bind/cloneNS/test03 447testcases/bin/fs_bind/cloneNS/test04 448testcases/bin/fs_bind/cloneNS/test05 449testcases/bin/fs_bind/cloneNS/test06 450testcases/bin/fs_bind/cloneNS/test07 451testcases/bin/fs_bind/move/test01 452testcases/bin/fs_bind/move/test02 453testcases/bin/fs_bind/move/test03 454testcases/bin/fs_bind/move/test04 455testcases/bin/fs_bind/move/test05 456testcases/bin/fs_bind/move/test06 457testcases/bin/fs_bind/move/test07 458testcases/bin/fs_bind/move/test09 459testcases/bin/fs_bind/move/test10 460testcases/bin/fs_bind/move/test11 461testcases/bin/fs_bind/move/test12 462testcases/bin/fs_bind/move/test13 463testcases/bin/fs_bind/move/test14 464testcases/bin/fs_bind/move/test15 465testcases/bin/fs_bind/move/test16 466testcases/bin/fs_bind/move/test17 467testcases/bin/fs_bind/move/test18 468testcases/bin/fs_bind/move/test19 469testcases/bin/fs_bind/move/test20 470testcases/bin/fs_bind/move/test21 471testcases/bin/fs_bind/rbind/test08 472testcases/bin/fs_bind/rbind/test10 473testcases/bin/fs_bind/rbind/test11 474testcases/bin/fs_bind/rbind/test12 475testcases/bin/fs_bind/rbind/test14 476testcases/bin/fs_bind/rbind/test15 477testcases/bin/fs_bind/rbind/test16 478testcases/bin/fs_bind/rbind/test18 479testcases/bin/fs_bind/rbind/test19 480testcases/bin/fs_bind/rbind/test22 481testcases/bin/fs_bind/regression/test01 482testcases/bin/fs_bind/regression/test02 483testcases/bin/fs_bind/regression/test03 484 485# Depends on CONFIG_EXT4_FS_ENCRYPTION which is not required on Android. 486# b/123523766 487statx05 488# Depends on exportfs (NFS not supported on Android). 489# b/191236106 490statx07 491 492# Disabled from LTP20190517 493# b/136666217 494# Needs pthread_cancel() and friends 495af_alg02 496 497# Disabled from LTP20230127 498# b/277959438 499# Needs pthread_cancel() and friends 500nice05 501 502# Depends on HDLC line discipline (not enabled on Android). 503# b/191224903 504pty05 505 506# Disable RPC tests as not available in Android. 507rpc01.sh 508rpc_lib.sh 509rpc_test.sh 510rpcinfo01.sh 511rup01.sh 512rusers01.sh 513rpc_auth_destroy 514rpc_authnone_create 515rpc_authunix_create 516rpc_authunix_create_default 517rpc_callrpc 518rpc_callrpc_dataint 519rpc_callrpc_performance 520rpc_callrpc_scalability 521rpc_callrpc_stress 522rpc_cleaner 523rpc_clnt_broadcast 524rpc_clnt_broadcast_complex 525rpc_clnt_broadcast_dataint 526rpc_clnt_broadcast_performance 527rpc_clnt_broadcast_scalability 528rpc_clnt_broadcast_stress 529rpc_clnt_call 530rpc_clnt_call_complex 531rpc_clnt_call_dataint 532rpc_clnt_call_performance 533rpc_clnt_call_scalability 534rpc_clnt_call_stress 535rpc_clnt_control 536rpc_clnt_control_dataint 537rpc_clnt_create 538rpc_clnt_create_stress 539rpc_clnt_destroy 540rpc_clnt_destroy_stress 541rpc_clnt_freeres 542rpc_clnt_geterr 543rpc_clnt_pcreateerror 544rpc_clnt_perrno 545rpc_clnt_perror 546rpc_clnt_spcreateerror 547rpc_clnt_sperrno 548rpc_clnt_sperror 549rpc_clntraw_create 550rpc_clntraw_create_complex 551rpc_clntraw_create_performance 552rpc_clnttcp_create 553rpc_clnttcp_create_limits 554rpc_clnttcp_create_performance 555rpc_clnttcp_create_stress 556rpc_clntudp_bufcreate 557rpc_clntudp_bufcreate_limits 558rpc_clntudp_create 559rpc_clntudp_create_performance 560rpc_clntudp_create_stress 561rpc_get_myaddress 562rpc_pmap_getmaps 563rpc_pmap_getport 564rpc_pmap_rmtcall 565rpc_pmap_rmtcall_performance 566rpc_pmap_rmtcall_stress 567rpc_pmap_set 568rpc_pmap_unset 569rpc_svc_1 570rpc_svc_2 571rpc_svc_destroy 572rpc_svc_destroy_stress 573rpc_svc_freeargs 574rpc_svc_freeargs_svc 575rpc_svc_getargs 576rpc_svc_getargs_client 577rpc_svc_getargs_dataint 578rpc_svc_getcaller 579rpc_svc_register 580rpc_svc_sendreply 581rpc_svc_sendreply_client 582rpc_svc_unregister 583rpc_svcerr_auth 584rpc_svcerr_noproc 585rpc_svcerr_noprog 586rpc_svcerr_progvers 587rpc_svcerr_systemerr 588rpc_svcerr_weakauth 589rpc_svcfd_create 590rpc_svcfd_create_limits 591rpc_svcraw_create 592rpc_svcraw_create_performance 593rpc_svctcp_create 594rpc_svctcp_create_limits 595rpc_svctcp_create_performance 596rpc_svctcp_create_stress 597rpc_svcudp_bufcreate 598rpc_svcudp_bufcreate_limits 599rpc_svcudp_create 600rpc_svcudp_create_performance 601rpc_svcudp_create_stress 602rpc_xprt_register 603rpc_xprt_unregister 604 605# Depends on /proc/net/connector and /dev/shm (not available on Android) 606# b/229724819 607cn_pec.sh 608 609# numa 610set_mempolicy01 611set_mempolicy02 612set_mempolicy03 613set_mempolicy04 614set_mempolicy05 615 616# Needs build script updates to support this test 617# b/246845416 618kvm_pagefault01 619kvm_pagefault01-payload.elf 620 621# Redefines cacheflush 622# b/277960476 623hugemmap15 624