From a4a8c4e241b417f9744998b4f774b869fdda8539 Mon Sep 17 00:00:00 2001 From: maweiye Date: Thu, 9 Mar 2023 15:58:58 +0800 Subject: [PATCH] fix ActsToolChainTest Signed-off-by: maweiye --- commonlibrary/toolchain/libc-test/Test.json | 96 ++------------------- 1 file changed, 9 insertions(+), 87 deletions(-) diff --git a/commonlibrary/toolchain/libc-test/Test.json b/commonlibrary/toolchain/libc-test/Test.json index 494e166d5..d69377090 100644 --- a/commonlibrary/toolchain/libc-test/Test.json +++ b/commonlibrary/toolchain/libc-test/Test.json @@ -18,30 +18,19 @@ "post-push": [ "mkdir /tmp", "mkdir /dev/shm", - "mkdir /src", - "mkdir /src/functional", "tar -xf /data/local/tmp/libc-test.tar -C /data/local/tmp/", "tar -xf /data/local/tmp/libc-test-lib.tar -C /data/local/tmp/", "chmod a+x -R /data/local/tmp/libc-test-lib", "chmod a+x -R /data/local/tmp/libc-test", - "mount -o rw,remount /", + "mount -o rw,remount /", + "mv /data/local/tmp/libc-test/zh_CN /tmp/zh_CN", + "mkdir /data/tests", + "mkdir /data/tests/libc-test", + "mkdir /data/tests/libc-test/src", + "mv /data/local/tmp/libc-test-lib/libldso_cfi_test_lib.so /data/tests/libc-test/src", + "echo 'root:This.is.a.test:18997:0:99999:7:::'>/etc/shadow", "rm -rf /data/local/tmp/libc-test/vsyslog", - "rm -rf /data/local/tmp/libc-test/mkstemps", - "rm -rf /data/local/tmp/libc-test/mkostemps", - "rm -rf /data/local/tmp/libc-test/syncfs", - "rm -rf /data/local/tmp/libc-test/sync_file_range", - "rm -rf /data/local/tmp/libc-test/tee", - "rm -rf /data/local/tmp/libc-test/sendfile", - "rm -rf /data/local/tmp/libc-test/removexattr", - "rm -rf /data/local/tmp/libc-test/copy_file_range", - "rm -rf /data/local/tmp/libc-test/setxattr", - "rm -rf /data/local/tmp/libc-test/splice", - "rm -rf /data/local/tmp/libc-test/mremap", "rm -rf /data/local/tmp/libc-test/mincore", - "rm -rf /data/local/tmp/libc-test/msync", - "rm -rf /data/local/tmp/libc-test/rewinddir", - "rm -rf /data/local/tmp/libc-test/scandir", - "rm -rf /data/local/tmp/libc-test/readdir_r", "rm -rf /data/local/tmp/libc-test/tcgetattr", "rm -rf /data/local/tmp/libc-test/tcsendbreak", "rm -rf /data/local/tmp/libc-test/tcgetsid", @@ -51,41 +40,12 @@ "rm -rf /data/local/tmp/libc-test/ttyname", "rm -rf /data/local/tmp/libc-test/tcgetpgrp", "rm -rf /data/local/tmp/libc-test/isatty", - "rm -rf /data/local/tmp/libc-test/posix_fallocate", - "rm -rf /data/local/tmp/libc-test/posix_fadvise", - "rm -rf /data/local/tmp/libc-test/getgrnam_r", "rm -rf /data/local/tmp/libc-test/ftok", - "rm -rf /data/local/tmp/libc-test/freopen", - "rm -rf /data/local/tmp/libc-test/__fwritable", - "rm -rf /data/local/tmp/libc-test/setbuffer", - "rm -rf /data/local/tmp/libc-test/vfscanf", - "rm -rf /data/local/tmp/libc-test/tmpfile", - "rm -rf /data/local/tmp/libc-test/__fwriting", - "rm -rf /data/local/tmp/libc-test/setbuf", - "rm -rf /data/local/tmp/libc-test/getwc", - "rm -rf /data/local/tmp/libc-test/ungetwc", - "rm -rf /data/local/tmp/libc-test/setlinebuf", - "rm -rf /data/local/tmp/libc-test/fputc", - "rm -rf /data/local/tmp/libc-test/fputs", - "rm -rf /data/local/tmp/libc-test/truncate", - "rm -rf /data/local/tmp/libc-test/fchownat", - "rm -rf /data/local/tmp/libc-test/fsync", - "rm -rf /data/local/tmp/libc-test/linkat", "rm -rf /data/local/tmp/libc-test/lchown", - "rm -rf /data/local/tmp/libc-test/faccessat", - "rm -rf /data/local/tmp/libc-test/unlinkat", - "rm -rf /data/local/tmp/libc-test/acct", "rm -rf /data/local/tmp/libc-test/exit", - "rm -rf /data/local/tmp/libc-test/readlinkat", - "rm -rf /data/local/tmp/libc-test/write", - "rm -rf /data/local/tmp/libc-test/getpid", "rm -rf /data/local/tmp/libc-test/exittest02", - "rm -rf /data/local/tmp/libc-test/unlink", - "rm -rf /data/local/tmp/libc-test/readv", - "rm -rf /data/local/tmp/libc-test/pread", "rm -rf /data/local/tmp/libc-test/syslog", "rm -rf /data/local/tmp/libc-test/vsyslog", - "rm -rf /data/local/tmp/libc-test/res_query", "rm -rf /data/local/tmp/libc-test/dlns_dlopen_test ", "rm -rf /data/local/tmp/libc-test/dlns_set_fun_test", "rm -rf /data/local/tmp/libc-test/dlns_inherit_test", @@ -93,16 +53,6 @@ "rm -rf /data/local/tmp/libc-test/dlns_special_scene_test", "rm -rf /data/local/tmp/libc-test/dlns_separated_test", "rm -rf /data/local/tmp/libc-test/dlopen_ext_relro_test", - "rm -rf /data/local/tmp/libc-test/strptime_ext", - "rm -rf /data/local/tmp/libc-test/ctime", - "rm -rf /data/local/tmp/libc-test/asctime", - "rm -rf /data/local/tmp/libc-test/strftime_l", - "rm -rf /data/local/tmp/libc-test/strftime_ext", - "rm -rf /data/local/tmp/libc-test/localtime_r", - "rm -rf /data/local/tmp/libc-test/localtime", - "rm -rf /data/local/tmp/libc-test/ctime_r", - "rm -rf /data/local/tmp/libc-test/timegm", - "rm -rf /data/local/tmp/libc-test/asctime_r", "rm -rf /data/local/tmp/libc-test/trace_stresstest", "rm -rf /data/local/tmp/libc-test/ldso_randomization_test", "rm -rf /data/local/tmp/libc-test/ldso_randomization_manual", @@ -111,30 +61,17 @@ "rm -rf /data/local/tmp/libc-test/reloc_symver", "rm -rf /data/local/tmp/libc-test/dynlink_default", "rm -rf /data/local/tmp/libc-test/dlvsym", - "rm -rf /data/local/tmp/libc-test/sem_open", - "rm -rf /data/local/tmp/libc-test/ipc_shm", "rm -rf /data/local/tmp/libc-test/tgkill", - "rm -rf /data/local/tmp/libc-test/fcntl", "rm -rf /data/local/tmp/libc-test/tls_init_dlopen", "rm -rf /data/local/tmp/libc-test/tls_align", "rm -rf /data/local/tmp/libc-test/dlopen_ns", "rm -rf /data/local/tmp/libc-test/tls_align_dlopen", - "rm -rf /data/local/tmp/libc-test/utim", "rm -rf /data/local/tmp/libc-test/dlclose_reset", - "rm -rf /data/local/tmp/libc-test/ipc_sem", - "rm -rf /data/local/tmp/libc-test/ungetc", - "rm -rf /data/local/tmp/libc-test/fscanf", "rm -rf /data/local/tmp/libc-test/pthread_cancel", "rm -rf /data/local/tmp/libc-test/tls_init", - "rm -rf /data/local/tmp/libc-test/fdopen", - "rm -rf /data/local/tmp/libc-test/fwscanf", "rm -rf /data/local/tmp/libc-test/dlopen", - "rm -rf /data/local/tmp/libc-test/ipc_msg", - "rm -rf /data/local/tmp/libc-test/ftello-unflushed-append", "rm -rf /data/local/tmp/libc-test/malloc-brk-fail", "rm -rf /data/local/tmp/libc-test/pthread_atfork-errno-clobber", - "rm -rf /data/local/tmp/libc-test/fflush-exit", - "rm -rf /data/local/tmp/libc-test/lseek-large", "rm -rf /data/local/tmp/libc-test/tls_get_new-dtv", "rm -rf /data/local/tmp/libc-test/flockfile-list", "rm -rf /data/local/tmp/libc-test/rintf", @@ -155,25 +92,10 @@ "rm -rf /data/local/tmp/libc-test/nearbyintl", "rm -rf /data/local/tmp/libc-test/fenv", "rm -rf /data/local/tmp/libc-test/asinhl", - "rm -rf /data/local/tmp/libc-test/fatal_message", - "rm -rf /data/local/tmp/libc-test/utime", - "rm -rf /data/local/tmp/libc-test/network", - "rm -rf /data/local/tmp/libc-test/vfprintf", - "rm -rf /data/local/tmp/libc-test/gethostbyname2_r", - "rm -rf /data/local/tmp/libc-test/utimensat", "rm -rf /data/local/tmp/libc-test/tgkill_ext", - "rm -rf /data/local/tmp/libc-test/getnetbyname", - "rm -rf /data/local/tmp/libc-test/getnetbyaddr", - "rm -rf /data/local/tmp/libc-test/getline", - "rm -rf /data/local/tmp/libc-test/setvbuf", "rm -rf /data/local/tmp/libc-test/res_send", - "rm -rf /data/local/tmp/libc-test/fchmodat", - "rm -rf /data/local/tmp/libc-test/gethostbyaddr_r", - "rm -rf /data/local/tmp/libc-test/getnameinfo", - "rm -rf /data/local/tmp/libc-test/res_querydomain", - "rm -rf /data/local/tmp/libc-test/gethostbyname2", - "rm -rf /data/local/tmp/libc-test/gethostbyaddr", - "rm -rf /data/local/tmp/libc-test/gethostbyname_r" + "rm -rf /data/local/tmp/libc-test/unittest_ldso_ns_config", + "rm -rf /data/local/tmp/libc-test/unittest_ldso_dynlink" ], "cleanup-apps": true } -- GitLab