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_notify03 359mq_open01 360mq_timedreceive01 361mq_unlink01 362mqns_01 363mqns_02 364mqns_03 365mqns_04 366pidns30 367pidns31 368 369# Require rpc(3) 370rpc_server 371rpc1 372 373# Broken by bionic struct in6_addr definition 374in6_01 375 376# bionic doesn't expose resolver routines to the public 377mc_gethost 378 379# Require mkfifo 380gf12 381gf13 382 383# Case designed only for i386 384f00f 385 386# build error due to unavailability of eaccess() 387prot_hsymlinks 388 389# The following test prebuilds are disabled due to build error on AOSP 390ldmain.obj 391rd1.obj 392d1.obj 393test_arch_debug 394nmfile3.obj 395nmfile1.obj 396test 397check_tray 398test_arch_stripped 399rf1.obj 400test_arch.obj 401f1.obj 402nmfile.obj 403nmfile2.obj 404 405# The following test cases are disabled due to a disabled cflags 406 407# TODO b/69263988 408# The leapsec timer test relies on manipulations of the system time 409# which may be disrupted if the device is configured to use network time. 410leapsec_timer 411 412# b/70174578 413# The getrusage03 test is dependent on the runtime environment and the current 414# memory pressure in the system, making it a poor choice to include in a 415# compliance test suite. 416getrusage03 417 418# input03 depends on /dev/input/mice which may not exist 419input03 420 421# Following test is flaky at best and renders the device unusable 422# after running. 423min_free_kbytes 424 425# Disable prebuilts that have no dependency on existing tests. The following prebuilts are disabled 426# as the only script that uses it is testscripts/test_fs_bind.sh. We currently do not support 'testscripts' 427# build for Android. 428testcases/bin/fs_bind/bind/test01 429testcases/bin/fs_bind/bind/test02 430testcases/bin/fs_bind/bind/test03 431testcases/bin/fs_bind/bind/test04 432testcases/bin/fs_bind/bind/test05 433testcases/bin/fs_bind/bind/test06 434testcases/bin/fs_bind/bind/test07 435testcases/bin/fs_bind/bind/test07-2 436testcases/bin/fs_bind/bind/test08 437testcases/bin/fs_bind/bind/test09 438testcases/bin/fs_bind/bind/test13 439testcases/bin/fs_bind/bind/test17 440testcases/bin/fs_bind/bind/test20 441testcases/bin/fs_bind/bind/test21 442testcases/bin/fs_bind/bind/test22 443testcases/bin/fs_bind/bind/test23 444testcases/bin/fs_bind/bind/test24 445testcases/bin/fs_bind/cloneNS/test01 446testcases/bin/fs_bind/cloneNS/test02 447testcases/bin/fs_bind/cloneNS/test03 448testcases/bin/fs_bind/cloneNS/test04 449testcases/bin/fs_bind/cloneNS/test05 450testcases/bin/fs_bind/cloneNS/test06 451testcases/bin/fs_bind/cloneNS/test07 452testcases/bin/fs_bind/move/test01 453testcases/bin/fs_bind/move/test02 454testcases/bin/fs_bind/move/test03 455testcases/bin/fs_bind/move/test04 456testcases/bin/fs_bind/move/test05 457testcases/bin/fs_bind/move/test06 458testcases/bin/fs_bind/move/test07 459testcases/bin/fs_bind/move/test09 460testcases/bin/fs_bind/move/test10 461testcases/bin/fs_bind/move/test11 462testcases/bin/fs_bind/move/test12 463testcases/bin/fs_bind/move/test13 464testcases/bin/fs_bind/move/test14 465testcases/bin/fs_bind/move/test15 466testcases/bin/fs_bind/move/test16 467testcases/bin/fs_bind/move/test17 468testcases/bin/fs_bind/move/test18 469testcases/bin/fs_bind/move/test19 470testcases/bin/fs_bind/move/test20 471testcases/bin/fs_bind/move/test21 472testcases/bin/fs_bind/rbind/test08 473testcases/bin/fs_bind/rbind/test10 474testcases/bin/fs_bind/rbind/test11 475testcases/bin/fs_bind/rbind/test12 476testcases/bin/fs_bind/rbind/test14 477testcases/bin/fs_bind/rbind/test15 478testcases/bin/fs_bind/rbind/test16 479testcases/bin/fs_bind/rbind/test18 480testcases/bin/fs_bind/rbind/test19 481testcases/bin/fs_bind/rbind/test22 482testcases/bin/fs_bind/regression/test01 483testcases/bin/fs_bind/regression/test02 484testcases/bin/fs_bind/regression/test03 485 486# Depends on CONFIG_EXT4_FS_ENCRYPTION which is not required on Android. 487# b/123523766 488statx05 489# Depends on exportfs (NFS not supported on Android). 490# b/191236106 491statx07 492 493# Disabled from LTP20190517 494# b/136666217 495# Needs pthread_cancel() and friends 496af_alg02 497 498# Disabled from LTP20230127 499# b/277959438 500# Needs pthread_cancel() and friends 501nice05 502 503# Depends on HDLC line discipline (not enabled on Android). 504# b/191224903 505pty05 506 507# Disable RPC tests as not available in Android. 508rpc01.sh 509rpc_lib.sh 510rpc_test.sh 511rpcinfo01.sh 512rup01.sh 513rusers01.sh 514rpc_auth_destroy 515rpc_authnone_create 516rpc_authunix_create 517rpc_authunix_create_default 518rpc_callrpc 519rpc_callrpc_dataint 520rpc_callrpc_performance 521rpc_callrpc_scalability 522rpc_callrpc_stress 523rpc_cleaner 524rpc_clnt_broadcast 525rpc_clnt_broadcast_complex 526rpc_clnt_broadcast_dataint 527rpc_clnt_broadcast_performance 528rpc_clnt_broadcast_scalability 529rpc_clnt_broadcast_stress 530rpc_clnt_call 531rpc_clnt_call_complex 532rpc_clnt_call_dataint 533rpc_clnt_call_performance 534rpc_clnt_call_scalability 535rpc_clnt_call_stress 536rpc_clnt_control 537rpc_clnt_control_dataint 538rpc_clnt_create 539rpc_clnt_create_stress 540rpc_clnt_destroy 541rpc_clnt_destroy_stress 542rpc_clnt_freeres 543rpc_clnt_geterr 544rpc_clnt_pcreateerror 545rpc_clnt_perrno 546rpc_clnt_perror 547rpc_clnt_spcreateerror 548rpc_clnt_sperrno 549rpc_clnt_sperror 550rpc_clntraw_create 551rpc_clntraw_create_complex 552rpc_clntraw_create_performance 553rpc_clnttcp_create 554rpc_clnttcp_create_limits 555rpc_clnttcp_create_performance 556rpc_clnttcp_create_stress 557rpc_clntudp_bufcreate 558rpc_clntudp_bufcreate_limits 559rpc_clntudp_create 560rpc_clntudp_create_performance 561rpc_clntudp_create_stress 562rpc_get_myaddress 563rpc_pmap_getmaps 564rpc_pmap_getport 565rpc_pmap_rmtcall 566rpc_pmap_rmtcall_performance 567rpc_pmap_rmtcall_stress 568rpc_pmap_set 569rpc_pmap_unset 570rpc_svc_1 571rpc_svc_2 572rpc_svc_destroy 573rpc_svc_destroy_stress 574rpc_svc_freeargs 575rpc_svc_freeargs_svc 576rpc_svc_getargs 577rpc_svc_getargs_client 578rpc_svc_getargs_dataint 579rpc_svc_getcaller 580rpc_svc_register 581rpc_svc_sendreply 582rpc_svc_sendreply_client 583rpc_svc_unregister 584rpc_svcerr_auth 585rpc_svcerr_noproc 586rpc_svcerr_noprog 587rpc_svcerr_progvers 588rpc_svcerr_systemerr 589rpc_svcerr_weakauth 590rpc_svcfd_create 591rpc_svcfd_create_limits 592rpc_svcraw_create 593rpc_svcraw_create_performance 594rpc_svctcp_create 595rpc_svctcp_create_limits 596rpc_svctcp_create_performance 597rpc_svctcp_create_stress 598rpc_svcudp_bufcreate 599rpc_svcudp_bufcreate_limits 600rpc_svcudp_create 601rpc_svcudp_create_performance 602rpc_svcudp_create_stress 603rpc_xprt_register 604rpc_xprt_unregister 605 606# Depends on /proc/net/connector and /dev/shm (not available on Android) 607# b/229724819 608cn_pec.sh 609 610# numa 611set_mempolicy01 612set_mempolicy02 613set_mempolicy03 614set_mempolicy04 615set_mempolicy05 616 617# Needs build script updates to support this test 618# b/246845416 619kvm_pagefault01 620kvm_pagefault01-payload.elf 621kvm_svm01 622kvm_svm01-payload.elf 623kvm_svm02 624kvm_svm02-payload.elf 625kvm_svm03 626kvm_svm03-payload.elf 627kvm_svm04 628kvm_svm04-payload.elf 629 630# Redefines cacheflush 631# b/277960476 632hugemmap15 633