Commands test cases
I would like to check with the LTP community if removing all "commands" test cases could be an option.
Test cases testing commands are often outdated or not maintained as there seems to be little intrest in them. Those test cases don't fit in with the LTP project as it is now, where more emphasiz is put on kernel, security and network testing.
If we have not objections among LTP upstream community I would suggest removing whole commands section.
PATCH 1/1 commands: Remove all test cases
Test cases testing commands are often outdated or not maintained. Those test cases also do not fit in with current LTP project status.
--- runtest/commands | 43 -- testcases/commands/.gitignore | 5 - testcases/commands/Makefile | 31 -- testcases/commands/ar/Makefile | 29 -- testcases/commands/ar/ar01 | 356 --------------- testcases/commands/ar/datafiles/Makefile | 19 - testcases/commands/ar/datafiles/file1.in | 1 - testcases/commands/ar/datafiles/file10.in | 1 - testcases/commands/ar/datafiles/file2.in | 1 - testcases/commands/ar/datafiles/file3.in | 1 - testcases/commands/ar/datafiles/file4.in | 1 - testcases/commands/at/Makefile | 31 -- testcases/commands/at/at_allow01 | 188 -------- testcases/commands/at/at_deny01 | 195 --------- testcases/commands/cp/Makefile | 31 -- testcases/commands/cp/cp_tests.sh | 111 ----- testcases/commands/cpio/Makefile | 31 -- testcases/commands/cpio/cpio_tests.sh | 54 --- testcases/commands/cron/00_Descriptions.txt | 4 - testcases/commands/cron/Makefile | 29 -- testcases/commands/cron/README.tests | 25 -- testcases/commands/cron/cron02 | 80 ---- testcases/commands/cron/cron03 | 83 ---- testcases/commands/cron/cron_allow01 | 202 --------- testcases/commands/cron/cron_deny01 | 192 -------- testcases/commands/cron/cron_dirs_check.c | 44 -- testcases/commands/cron/cron_dirs_checks01 | 46 -- testcases/commands/cron/cron_illegal_cron_lines | 39 -- testcases/commands/cron/cron_neg_tests.sh | 141 ------ testcases/commands/cron/cron_pos_tests.sh | 118 ----- testcases/commands/cron/cron_tests.sh | 276 ------------ testcases/commands/df/Makefile | 28 -- testcases/commands/df/df01.sh | 231 ---------- testcases/commands/du/Makefile | 27 -- testcases/commands/du/du01.sh | 126 ------ testcases/commands/eject/Makefile | 29 -- testcases/commands/eject/eject-tests.sh | 165 ------- testcases/commands/eject/eject_check_tray.c | 53 --- testcases/commands/file/Makefile | 29 -- testcases/commands/file/datafiles/.gitignore | 1 - testcases/commands/file/datafiles/Makefile | 19 - testcases/commands/file/datafiles/in.ar | 10 - testcases/commands/file/datafiles/in.bash | 4 - testcases/commands/file/datafiles/in.c | 7 - testcases/commands/file/datafiles/in.csh | 4 - testcases/commands/file/datafiles/in.jpg | Bin 542 -> 0 bytes testcases/commands/file/datafiles/in.ksh | 4 - testcases/commands/file/datafiles/in.m4 | 5 - testcases/commands/file/datafiles/in.mp3 | Bin 1152 -> 0 bytes testcases/commands/file/datafiles/in.pl | 3 - testcases/commands/file/datafiles/in.png | Bin 159 -> 0 bytes testcases/commands/file/datafiles/in.py | 3 - testcases/commands/file/datafiles/in.sh | 3 - testcases/commands/file/datafiles/in.src.rpm | Bin 1798 -> 0 bytes testcases/commands/file/datafiles/in.tar | Bin 10240 -> 0 bytes testcases/commands/file/datafiles/in.tar.bz2 | Bin 181 -> 0 bytes testcases/commands/file/datafiles/in.tar.gz | Bin 183 -> 0 bytes testcases/commands/file/datafiles/in.txt | 2 - testcases/commands/file/datafiles/in.wav | Bin 8044 -> 0 bytes testcases/commands/file/datafiles/in.zip | Bin 499 -> 0 bytes testcases/commands/file/file01.sh | 106 ----- testcases/commands/gdb/Makefile | 26 -- testcases/commands/gdb/gdb01.sh | 41 -- testcases/commands/gzip/Makefile | 31 -- testcases/commands/gzip/gzip_tests.sh | 170 ------- testcases/commands/insmod/Makefile | 36 -- testcases/commands/insmod/insmod01.sh | 60 --- testcases/commands/insmod/ltp_insmod01.c | 35 -- testcases/commands/keyctl/Makefile | 24 - testcases/commands/keyctl/keyctl01.sh | 126 ------ testcases/commands/ld/Makefile | 29 -- testcases/commands/ld/datafiles/Makefile | 22 - testcases/commands/ld/datafiles/d1.c | 1 - testcases/commands/ld/datafiles/f1.c | 7 - testcases/commands/ld/datafiles/main.c | 10 - testcases/commands/ld/datafiles/rd1.c | 8 - testcases/commands/ld/datafiles/rf1.c | 10 - testcases/commands/ld/ld01 | 97 ---- testcases/commands/ldd/Makefile | 25 -- testcases/commands/ldd/datafiles/Makefile | 37 -- testcases/commands/ldd/datafiles/lddfile1.c | 5 - testcases/commands/ldd/datafiles/lddfile2.c | 5 - testcases/commands/ldd/datafiles/lddfile3.c | 5 - testcases/commands/ldd/datafiles/lddfile4.c | 5 - testcases/commands/ldd/datafiles/lddfile5.c | 5 - testcases/commands/ldd/datafiles/main.c | 18 - testcases/commands/ldd/ldd01 | 64 --- testcases/commands/ln/Makefile | 31 -- testcases/commands/ln/ln_tests.sh | 98 ----- testcases/commands/logrotate/00_Descriptions.txt | 2 - testcases/commands/logrotate/Makefile | 31 -- testcases/commands/logrotate/logrotate_tests.sh | 375 ---------------- testcases/commands/lsmod/Makefile | 22 - testcases/commands/lsmod/lsmod01.sh | 50 --- testcases/commands/mkdir/Makefile | 31 -- testcases/commands/mkdir/mkdir_tests.sh | 70 --- testcases/commands/mkfs/Makefile | 24 - testcases/commands/mkfs/mkfs01.sh | 197 --------- testcases/commands/mkswap/Makefile | 22 - testcases/commands/mkswap/mkswap01.sh | 176 -------- testcases/commands/mv/Makefile | 31 -- testcases/commands/mv/mv_tests.sh | 170 ------- testcases/commands/nm/Makefile | 29 -- testcases/commands/nm/datafiles/.gitignore | 3 - testcases/commands/nm/datafiles/Makefile | 24 - testcases/commands/nm/datafiles/f1.c | 7 - testcases/commands/nm/datafiles/f2.c | 7 - testcases/commands/nm/datafiles/f3.c | 7 - testcases/commands/nm/nm01 | 137 ------ testcases/commands/su/Makefile | 31 -- testcases/commands/su/su01 | 181 -------- testcases/commands/su/su01_s1 | 486 --------------------- testcases/commands/su/su_set_passwd | 14 - testcases/commands/sysctl/Makefile | 25 -- testcases/commands/sysctl/sysctl01.sh | 55 --- testcases/commands/tar/Makefile | 31 -- testcases/commands/tar/tar_tests.sh | 152 ------- testcases/commands/tpm-tools/Makefile | 27 -- testcases/commands/tpm-tools/tpm/Makefile | 27 -- .../tpm/tpm_changeauth/00_Descriptions.txt | 6 - .../commands/tpm-tools/tpm/tpm_changeauth/Makefile | 31 -- .../tpm/tpm_changeauth/tpm_changeauth_tests.sh | 146 ------- .../tpm_changeauth/tpm_changeauth_tests_exp01.sh | 39 -- .../tpm_changeauth/tpm_changeauth_tests_exp02.sh | 40 -- .../tpm_changeauth/tpm_changeauth_tests_exp03.sh | 44 -- .../tpm-tools/tpm/tpm_clear/00_Descriptions.txt | 2 - .../commands/tpm-tools/tpm/tpm_clear/Makefile | 31 -- .../tpm-tools/tpm/tpm_clear/tpm_clear_tests.sh | 100 ----- .../tpm/tpm_clear/tpm_clear_tests_exp01.sh | 33 -- .../tpm-tools/tpm/tpm_getpubek/00_Descriptions.txt | 2 - .../commands/tpm-tools/tpm/tpm_getpubek/Makefile | 31 -- .../tpm/tpm_getpubek/tpm_getpubek_tests.sh | 100 ----- .../tpm/tpm_getpubek/tpm_getpubek_tests_exp01.sh | 42 -- .../tpm/tpm_restrictpubek/00_Descriptions.txt | 6 - .../tpm-tools/tpm/tpm_restrictpubek/Makefile | 31 -- .../tpm_restrictpubek/tpm_restrictpubek_tests.sh | 146 ------- .../tpm_restrictpubek_tests_exp01.sh | 33 -- .../tpm_restrictpubek_tests_exp02.sh | 33 -- .../tpm_restrictpubek_tests_exp03.sh | 42 -- .../tpm-tools/tpm/tpm_selftest/00_Descriptions.txt | 4 - .../commands/tpm-tools/tpm/tpm_selftest/Makefile | 31 -- .../tpm/tpm_selftest/tpm_selftest_tests.sh | 109 ----- .../tpm/tpm_takeownership/00_Descriptions.txt | 2 - .../tpm-tools/tpm/tpm_takeownership/Makefile | 31 -- .../tpm_takeownership/tpm_takeownership_tests.sh | 100 ----- .../tpm_takeownership_tests_exp01.sh | 39 -- .../tpm-tools/tpm/tpm_version/00_Descriptions.txt | 2 - .../commands/tpm-tools/tpm/tpm_version/Makefile | 31 -- .../tpm-tools/tpm/tpm_version/tpm_version_tests.sh | 94 ---- testcases/commands/tpm-tools/tpmtoken/Makefile | 27 -- .../tpmtoken/tpmtoken_import/00_Descriptions.txt | 20 - .../tpm-tools/tpmtoken/tpmtoken_import/Makefile | 31 -- .../tpmtoken_import/tpmtoken_import_openssl.cnf | 258 ----------- .../tpmtoken_import/tpmtoken_import_tests.sh | 323 -------------- .../tpmtoken_import/tpmtoken_import_tests_exp01.sh | 40 -- .../tpmtoken_import/tpmtoken_import_tests_exp02.sh | 47 -- .../tpmtoken_import/tpmtoken_import_tests_exp03.sh | 42 -- .../tpmtoken_import/tpmtoken_import_tests_exp04.sh | 38 -- .../tpmtoken_import/tpmtoken_import_tests_exp05.sh | 45 -- .../tpmtoken_import/tpmtoken_import_tests_exp06.sh | 40 -- .../tpmtoken_import/tpmtoken_import_tests_exp07.sh | 45 -- .../tpmtoken_import/tpmtoken_import_tests_exp08.sh | 44 -- .../tpmtoken/tpmtoken_init/00_Descriptions.txt | 6 - .../tpm-tools/tpmtoken/tpmtoken_init/Makefile | 31 -- .../tpmtoken/tpmtoken_init/tpmtoken_init_tests.sh | 160 ------- .../tpmtoken_init/tpmtoken_init_tests_exp00.sh | 39 -- .../tpmtoken_init/tpmtoken_init_tests_exp01.sh | 57 --- .../tpmtoken_init/tpmtoken_init_tests_exp02.sh | 60 --- .../tpmtoken_init/tpmtoken_init_tests_exp03.sh | 55 --- .../tpmtoken/tpmtoken_objects/00_Descriptions.txt | 4 - .../tpm-tools/tpmtoken/tpmtoken_objects/Makefile | 31 -- .../tpmtoken_objects/tpmtoken_objects_tests.sh | 125 ------ .../tpmtoken_objects_tests_exp01.sh | 33 -- .../tpmtoken/tpmtoken_protect/00_Descriptions.txt | 4 - .../tpm-tools/tpmtoken/tpmtoken_protect/Makefile | 31 -- .../tpmtoken_protect/tpmtoken_protect_data.txt | 17 - .../tpmtoken_protect/tpmtoken_protect_tests.sh | 153 ------- .../tpmtoken_protect_tests_exp01.sh | 36 -- .../tpmtoken_protect_tests_exp02.sh | 36 -- .../tpmtoken_setpasswd/00_Descriptions.txt | 8 - .../tpm-tools/tpmtoken/tpmtoken_setpasswd/Makefile | 31 -- .../tpmtoken_setpasswd/tpmtoken_setpasswd_tests.sh | 171 -------- .../tpmtoken_setpasswd_tests_exp01.sh | 39 -- .../tpmtoken_setpasswd_tests_exp02.sh | 39 -- .../tpmtoken_setpasswd_tests_exp03.sh | 39 -- .../tpmtoken_setpasswd_tests_exp04.sh | 39 -- testcases/commands/unshare/Makefile | 22 - testcases/commands/unshare/unshare01.sh | 171 -------- testcases/commands/unzip/Makefile | 29 -- testcases/commands/unzip/datafiles/Makefile | 19 - testcases/commands/unzip/datafiles/dir.out | 16 - testcases/commands/unzip/datafiles/test.zip | Bin 2544 -> 0 bytes testcases/commands/unzip/unzip01.sh | 98 ----- testcases/commands/wc/Makefile | 22 - testcases/commands/wc/wc01.sh | 81 ---- testcases/commands/which/Makefile | 22 - testcases/commands/which/which01.sh | 118 ----- 197 files changed, 10965 deletions(-) delete mode 100644 runtest/commands delete mode 100644 testcases/commands/.gitignore delete mode 100644 testcases/commands/Makefile delete mode 100644 testcases/commands/ar/Makefile delete mode 100644 testcases/commands/ar/ar01 delete mode 100644 testcases/commands/ar/datafiles/Makefile delete mode 100644 testcases/commands/ar/datafiles/file1.in delete mode 100644 testcases/commands/ar/datafiles/file10.in delete mode 100644 testcases/commands/ar/datafiles/file2.in delete mode 100644 testcases/commands/ar/datafiles/file3.in delete mode 100644 testcases/commands/ar/datafiles/file4.in delete mode 100644 testcases/commands/at/Makefile delete mode 100755 testcases/commands/at/at_allow01 delete mode 100755 testcases/commands/at/at_deny01 delete mode 100644 testcases/commands/cp/Makefile delete mode 100755 testcases/commands/cp/cp_tests.sh delete mode 100644 testcases/commands/cpio/Makefile delete mode 100755 testcases/commands/cpio/cpio_tests.sh delete mode 100644 testcases/commands/cron/00_Descriptions.txt delete mode 100644 testcases/commands/cron/Makefile delete mode 100644 testcases/commands/cron/README.tests delete mode 100755 testcases/commands/cron/cron02 delete mode 100755 testcases/commands/cron/cron03 delete mode 100755 testcases/commands/cron/cron_allow01 delete mode 100755 testcases/commands/cron/cron_deny01 delete mode 100644 testcases/commands/cron/cron_dirs_check.c delete mode 100755 testcases/commands/cron/cron_dirs_checks01 delete mode 100644 testcases/commands/cron/cron_illegal_cron_lines delete mode 100755 testcases/commands/cron/cron_neg_tests.sh delete mode 100755 testcases/commands/cron/cron_pos_tests.sh delete mode 100644 testcases/commands/cron/cron_tests.sh delete mode 100644 testcases/commands/df/Makefile delete mode 100755 testcases/commands/df/df01.sh delete mode 100644 testcases/commands/du/Makefile delete mode 100755 testcases/commands/du/du01.sh delete mode 100644 testcases/commands/eject/Makefile delete mode 100755 testcases/commands/eject/eject-tests.sh delete mode 100644 testcases/commands/eject/eject_check_tray.c delete mode 100644 testcases/commands/file/Makefile delete mode 100644 testcases/commands/file/datafiles/.gitignore delete mode 100644 testcases/commands/file/datafiles/Makefile delete mode 100644 testcases/commands/file/datafiles/in.ar delete mode 100644 testcases/commands/file/datafiles/in.bash delete mode 100644 testcases/commands/file/datafiles/in.c delete mode 100644 testcases/commands/file/datafiles/in.csh delete mode 100644 testcases/commands/file/datafiles/in.jpg delete mode 100644 testcases/commands/file/datafiles/in.ksh delete mode 100644 testcases/commands/file/datafiles/in.m4 delete mode 100644 testcases/commands/file/datafiles/in.mp3 delete mode 100755 testcases/commands/file/datafiles/in.pl delete mode 100644 testcases/commands/file/datafiles/in.png delete mode 100755 testcases/commands/file/datafiles/in.py delete mode 100755 testcases/commands/file/datafiles/in.sh delete mode 100644 testcases/commands/file/datafiles/in.src.rpm delete mode 100644 testcases/commands/file/datafiles/in.tar delete mode 100644 testcases/commands/file/datafiles/in.tar.bz2 delete mode 100644 testcases/commands/file/datafiles/in.tar.gz delete mode 100644 testcases/commands/file/datafiles/in.txt delete mode 100644 testcases/commands/file/datafiles/in.wav delete mode 100644 testcases/commands/file/datafiles/in.zip delete mode 100755 testcases/commands/file/file01.sh delete mode 100644 testcases/commands/gdb/Makefile delete mode 100755 testcases/commands/gdb/gdb01.sh delete mode 100644 testcases/commands/gzip/Makefile delete mode 100755 testcases/commands/gzip/gzip_tests.sh delete mode 100644 testcases/commands/insmod/Makefile delete mode 100755 testcases/commands/insmod/insmod01.sh delete mode 100644 testcases/commands/insmod/ltp_insmod01.c delete mode 100644 testcases/commands/keyctl/Makefile delete mode 100644 testcases/commands/keyctl/keyctl01.sh delete mode 100644 testcases/commands/ld/Makefile delete mode 100644 testcases/commands/ld/datafiles/Makefile delete mode 100644 testcases/commands/ld/datafiles/d1.c delete mode 100644 testcases/commands/ld/datafiles/f1.c delete mode 100644 testcases/commands/ld/datafiles/main.c delete mode 100644 testcases/commands/ld/datafiles/rd1.c delete mode 100644 testcases/commands/ld/datafiles/rf1.c delete mode 100755 testcases/commands/ld/ld01 delete mode 100644 testcases/commands/ldd/Makefile delete mode 100644 testcases/commands/ldd/datafiles/Makefile delete mode 100644 testcases/commands/ldd/datafiles/lddfile1.c delete mode 100644 testcases/commands/ldd/datafiles/lddfile2.c delete mode 100644 testcases/commands/ldd/datafiles/lddfile3.c delete mode 100644 testcases/commands/ldd/datafiles/lddfile4.c delete mode 100644 testcases/commands/ldd/datafiles/lddfile5.c delete mode 100644 testcases/commands/ldd/datafiles/main.c delete mode 100755 testcases/commands/ldd/ldd01 delete mode 100644 testcases/commands/ln/Makefile delete mode 100755 testcases/commands/ln/ln_tests.sh delete mode 100644 testcases/commands/logrotate/00_Descriptions.txt delete mode 100644 testcases/commands/logrotate/Makefile delete mode 100755 testcases/commands/logrotate/logrotate_tests.sh delete mode 100644 testcases/commands/lsmod/Makefile delete mode 100755 testcases/commands/lsmod/lsmod01.sh delete mode 100644 testcases/commands/mkdir/Makefile delete mode 100755 testcases/commands/mkdir/mkdir_tests.sh delete mode 100644 testcases/commands/mkfs/Makefile delete mode 100755 testcases/commands/mkfs/mkfs01.sh delete mode 100644 testcases/commands/mkswap/Makefile delete mode 100755 testcases/commands/mkswap/mkswap01.sh delete mode 100644 testcases/commands/mv/Makefile delete mode 100755 testcases/commands/mv/mv_tests.sh delete mode 100644 testcases/commands/nm/Makefile delete mode 100644 testcases/commands/nm/datafiles/.gitignore delete mode 100644 testcases/commands/nm/datafiles/Makefile delete mode 100644 testcases/commands/nm/datafiles/f1.c delete mode 100644 testcases/commands/nm/datafiles/f2.c delete mode 100644 testcases/commands/nm/datafiles/f3.c delete mode 100755 testcases/commands/nm/nm01 delete mode 100644 testcases/commands/su/Makefile delete mode 100755 testcases/commands/su/su01 delete mode 100755 testcases/commands/su/su01_s1 delete mode 100755 testcases/commands/su/su_set_passwd delete mode 100644 testcases/commands/sysctl/Makefile delete mode 100755 testcases/commands/sysctl/sysctl01.sh delete mode 100644 testcases/commands/tar/Makefile delete mode 100755 testcases/commands/tar/tar_tests.sh delete mode 100644 testcases/commands/tpm-tools/Makefile delete mode 100644 testcases/commands/tpm-tools/tpm/Makefile delete mode 100644 testcases/commands/tpm-tools/tpm/tpm_changeauth/00_Descriptions.txt delete mode 100644 testcases/commands/tpm-tools/tpm/tpm_changeauth/Makefile delete mode 100755 testcases/commands/tpm-tools/tpm/tpm_changeauth/tpm_changeauth_tests.sh delete mode 100755 testcases/commands/tpm-tools/tpm/tpm_changeauth/tpm_changeauth_tests_exp01.sh delete mode 100755 testcases/commands/tpm-tools/tpm/tpm_changeauth/tpm_changeauth_tests_exp02.sh delete mode 100755 testcases/commands/tpm-tools/tpm/tpm_changeauth/tpm_changeauth_tests_exp03.sh delete mode 100644 testcases/commands/tpm-tools/tpm/tpm_clear/00_Descriptions.txt delete mode 100644 testcases/commands/tpm-tools/tpm/tpm_clear/Makefile delete mode 100755 testcases/commands/tpm-tools/tpm/tpm_clear/tpm_clear_tests.sh delete mode 100755 testcases/commands/tpm-tools/tpm/tpm_clear/tpm_clear_tests_exp01.sh delete mode 100644 testcases/commands/tpm-tools/tpm/tpm_getpubek/00_Descriptions.txt delete mode 100644 testcases/commands/tpm-tools/tpm/tpm_getpubek/Makefile delete mode 100755 testcases/commands/tpm-tools/tpm/tpm_getpubek/tpm_getpubek_tests.sh delete mode 100755 testcases/commands/tpm-tools/tpm/tpm_getpubek/tpm_getpubek_tests_exp01.sh delete mode 100644 testcases/commands/tpm-tools/tpm/tpm_restrictpubek/00_Descriptions.txt delete mode 100644 testcases/commands/tpm-tools/tpm/tpm_restrictpubek/Makefile delete mode 100755 testcases/commands/tpm-tools/tpm/tpm_restrictpubek/tpm_restrictpubek_tests.sh delete mode 100755 testcases/commands/tpm-tools/tpm/tpm_restrictpubek/tpm_restrictpubek_tests_exp01.sh delete mode 100755 testcases/commands/tpm-tools/tpm/tpm_restrictpubek/tpm_restrictpubek_tests_exp02.sh delete mode 100755 testcases/commands/tpm-tools/tpm/tpm_restrictpubek/tpm_restrictpubek_tests_exp03.sh delete mode 100644 testcases/commands/tpm-tools/tpm/tpm_selftest/00_Descriptions.txt delete mode 100644 testcases/commands/tpm-tools/tpm/tpm_selftest/Makefile delete mode 100755 testcases/commands/tpm-tools/tpm/tpm_selftest/tpm_selftest_tests.sh delete mode 100644 testcases/commands/tpm-tools/tpm/tpm_takeownership/00_Descriptions.txt delete mode 100644 testcases/commands/tpm-tools/tpm/tpm_takeownership/Makefile delete mode 100755 testcases/commands/tpm-tools/tpm/tpm_takeownership/tpm_takeownership_tests.sh delete mode 100755 testcases/commands/tpm-tools/tpm/tpm_takeownership/tpm_takeownership_tests_exp01.sh delete mode 100644 testcases/commands/tpm-tools/tpm/tpm_version/00_Descriptions.txt delete mode 100644 testcases/commands/tpm-tools/tpm/tpm_version/Makefile delete mode 100755 testcases/commands/tpm-tools/tpm/tpm_version/tpm_version_tests.sh delete mode 100644 testcases/commands/tpm-tools/tpmtoken/Makefile delete mode 100644 testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/00_Descriptions.txt delete mode 100644 testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/Makefile delete mode 100644 testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_openssl.cnf delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_tests.sh delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_tests_exp01.sh delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_tests_exp02.sh delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_tests_exp03.sh delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_tests_exp04.sh delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_tests_exp05.sh delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_tests_exp06.sh delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_tests_exp07.sh delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_tests_exp08.sh delete mode 100644 testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/00_Descriptions.txt delete mode 100644 testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/Makefile delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/tpmtoken_init_tests.sh delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/tpmtoken_init_tests_exp00.sh delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/tpmtoken_init_tests_exp01.sh delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/tpmtoken_init_tests_exp02.sh delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/tpmtoken_init_tests_exp03.sh delete mode 100644 testcases/commands/tpm-tools/tpmtoken/tpmtoken_objects/00_Descriptions.txt delete mode 100644 testcases/commands/tpm-tools/tpmtoken/tpmtoken_objects/Makefile delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_objects/tpmtoken_objects_tests.sh delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_objects/tpmtoken_objects_tests_exp01.sh delete mode 100644 testcases/commands/tpm-tools/tpmtoken/tpmtoken_protect/00_Descriptions.txt delete mode 100644 testcases/commands/tpm-tools/tpmtoken/tpmtoken_protect/Makefile delete mode 100644 testcases/commands/tpm-tools/tpmtoken/tpmtoken_protect/tpmtoken_protect_data.txt delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_protect/tpmtoken_protect_tests.sh delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_protect/tpmtoken_protect_tests_exp01.sh delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_protect/tpmtoken_protect_tests_exp02.sh delete mode 100644 testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/00_Descriptions.txt delete mode 100644 testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/Makefile delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/tpmtoken_setpasswd_tests.sh delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/tpmtoken_setpasswd_tests_exp01.sh delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/tpmtoken_setpasswd_tests_exp02.sh delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/tpmtoken_setpasswd_tests_exp03.sh delete mode 100755 testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/tpmtoken_setpasswd_tests_exp04.sh delete mode 100644 testcases/commands/unshare/Makefile delete mode 100755 testcases/commands/unshare/unshare01.sh delete mode 100644 testcases/commands/unzip/Makefile delete mode 100644 testcases/commands/unzip/datafiles/Makefile delete mode 100644 testcases/commands/unzip/datafiles/dir.out delete mode 100644 testcases/commands/unzip/datafiles/test.zip delete mode 100755 testcases/commands/unzip/unzip01.sh delete mode 100644 testcases/commands/wc/Makefile delete mode 100755 testcases/commands/wc/wc01.sh delete mode 100644 testcases/commands/which/Makefile delete mode 100755 testcases/commands/which/which01.sh
runtest/commands deleted +0 -43
@@ -1,43 +0,0 @@ -#DESCRIPTION:General Linux commands -ar export TCdat=$LTPROOT/testcases/bin; ar01 -ld01 ld01 -ldd01 ldd01 -nm01 nm01 -file01 file01.sh -tar01 tar_tests.sh -cron cron_tests.sh -logrotate export TCdat=$LTPROOT/testcases/bin; logrotate_tests.sh -cpio01 cpio_tests.sh -unzip01 unzip01.sh -gzip01 gzip_tests.sh -cp01 cp_tests.sh -ln01 ln_tests.sh -mkdir01 mkdir_tests.sh -mv01 mv_tests.sh -du01 du01.sh -df01_ext2 df01.sh -f ext2 -df01_ext3 df01.sh -f ext3 -df01_ext4 df01.sh -f ext4 -df01_xfs df01.sh -f xfs -df01_vfat df01.sh -f vfat -df01_exfat df01.sh -f exfat -df01_ntfs df01.sh -f ntfs -mkfs01 mkfs01.sh -mkfs01_ext2 mkfs01.sh -f ext2 -mkfs01_ext3 mkfs01.sh -f ext3 -mkfs01_ext4 mkfs01.sh -f ext4 -mkfs01_xfs mkfs01.sh -f xfs -mkfs01_btrfs mkfs01.sh -f btrfs -mkfs01_minix mkfs01.sh -f minix -mkfs01_msdos mkfs01.sh -f msdos -mkfs01_vfat mkfs01.sh -f vfat -mkfs01_ntfs mkfs01.sh -f ntfs -mkswap01 mkswap01.sh -which01 which01.sh -lsmod01 lsmod01.sh -insmod01 insmod01.sh -wc01 wc01.sh -keyctl01 keyctl01.sh -gdb01 gdb01.sh -unshare01 unshare01.sh -sysctl01 sysctl01.sh
testcases/commands/.gitignore deleted +0 -5
@@ -1,5 +0,0 @@ -/ldd/datafiles/lddfile.out -/ldd/datafiles/*.obj.so -/cron/cron_dirs_check -/eject/eject_check_tray -/insmod/ltp_insmod01.ko
testcases/commands/Makefile deleted +0 -31
@@ -1,31 +0,0 @@ -# -# commands test suite Makefile. -# -# Copyright (C) 2009, Cisco Systems Inc. -# Copyright (C) 2010, Linux Test Project. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# Ngie Cooper, July 2009 -# - -top_srcdir ?= ../.. - -ifneq ($(WITH_EXPECT),yes) -FILTER_OUT_SUBDIRS := tpm-tools -endif - -include $(top_srcdir)/include/mk/env_pre.mk -include $(top_srcdir)/include/mk/generic_trunk_target.mk
testcases/commands/ar/Makefile deleted +0 -29
@@ -1,29 +0,0 @@ -# -# commands/ade/ar testcases Makefile. -# -# Copyright (C) 2009, Cisco Systems Inc. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# Ngie Cooper, July 2009 -# - -top_srcdir ?= ../../.. - -include $(top_srcdir)/include/mk/env_pre.mk - -INSTALL_TARGETS := ar01 - -include $(top_srcdir)/include/mk/generic_trunk_target.mk
testcases/commands/ar/ar01 deleted +0 -356
356 lines not on this page · raw message
testcases/commands/ar/datafiles/Makefile deleted +0 -19
@@ -1,19 +0,0 @@ -# -# Copyright (C) 2016, Linux Test Project. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -top_srcdir ?= ../../../.. - -include $(top_srcdir)/include/mk/env_pre.mk -INSTALL_DIR := testcases/data/ar01 -INSTALL_TARGETS := file* -include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/commands/ar/datafiles/file1.in deleted +0 -1
@@ -1 +0,0 @@ -This is file one
testcases/commands/ar/datafiles/file10.in deleted +0 -1
@@ -1 +0,0 @@ -This is file ten
testcases/commands/ar/datafiles/file2.in deleted +0 -1
@@ -1 +0,0 @@ -This is file two
testcases/commands/ar/datafiles/file3.in deleted +0 -1
@@ -1 +0,0 @@ -This is file three
testcases/commands/ar/datafiles/file4.in deleted +0 -1
@@ -1 +0,0 @@ -This is file four
testcases/commands/at/Makefile deleted +0 -31
@@ -1,31 +0,0 @@ -# -# commands/at testcases Makefile. -# -# Copyright (C) 2009, Cisco Systems Inc. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# Ngie Cooper, July 2009 -# - -top_srcdir ?= ../../.. - -include $(top_srcdir)/include/mk/env_pre.mk - -INSTALL_TARGETS := at_allow01 at_deny01 - -MAKE_TARGETS := - -include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/commands/at/at_allow01 deleted +0 -188
188 lines not on this page · raw message
testcases/commands/at/at_deny01 deleted +0 -195
195 lines not on this page · raw message
testcases/commands/cp/Makefile deleted +0 -31
@@ -1,31 +0,0 @@ -# -# commands/fileutils/cp testcases Makefile. -# -# Copyright (C) 2009, Cisco Systems Inc. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# Ngie Cooper, July 2009 -# - -top_srcdir ?= ../../.. - -include $(top_srcdir)/include/mk/env_pre.mk - -INSTALL_TARGETS := cp_tests.sh - -MAKE_TARGETS := - -include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/commands/cp/cp_tests.sh deleted +0 -111
111 lines not on this page · raw message
testcases/commands/cpio/Makefile deleted +0 -31
@@ -1,31 +0,0 @@ -# -# commands/cpio testcases Makefile. -# -# Copyright (C) 2009, Cisco Systems Inc. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# Ngie Cooper, July 2009 -# - -top_srcdir ?= ../../.. - -include $(top_srcdir)/include/mk/env_pre.mk - -INSTALL_TARGETS := cpio_tests.sh - -MAKE_TARGETS := - -include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/commands/cpio/cpio_tests.sh deleted +0 -54
54 lines not on this page · raw message
testcases/commands/cron/00_Descriptions.txt deleted +0 -4
@@ -1,4 +0,0 @@ -cron01 - Test that crontab <filename> installs the cron-job-file and cron will - schedule the job correctly. -
testcases/commands/cron/Makefile deleted +0 -29
@@ -1,29 +0,0 @@ -# -# commands/cron testcases Makefile. -# -# Copyright (C) 2009, Cisco Systems Inc. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# Ngie Cooper, July 2009 -# - -top_srcdir ?= ../../.. - -include $(top_srcdir)/include/mk/env_pre.mk - -INSTALL_TARGETS := cron0[23] cron_illegal_cron_lines cron_allow01 cron_deny01 cron_dirs_checks01 *.sh - -include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/commands/cron/README.tests deleted +0 -25
@@ -1,25 +0,0 @@ -This directory contains two scripts and one data file to test cron. Both -shouldn't be run as root but they warn for themselves. If a username is -given as parameter they run as this user. - -Both scripts save the current crontab and restore it after finishing. - -* Positive tests - - cron_pos_tests.sh [username] - - - add new job - - check correct execution of job - - delete job - -* Negative tests - - cron_neg_tests.sh [username] - - - try to edit the crontab of root - - try to set illegal or nondefined execution times - Here the script uses file illegal_cron_lines which contains two - fields per line: the cron line to be tested (without script name), - and the description of this test. The description is written to - stdout during execution of the test. - - try to do things you aren't allowed as non-root (cron runs as root)
testcases/commands/cron/cron02 deleted +0 -80
80 lines not on this page · raw message
testcases/commands/cron/cron03 deleted +0 -83
83 lines not on this page · raw message
testcases/commands/cron/cron_allow01 deleted +0 -202
202 lines not on this page · raw message
testcases/commands/cron/cron_deny01 deleted +0 -192
192 lines not on this page · raw message
testcases/commands/cron/cron_dirs_check.c deleted +0 -44
44 lines not on this page · raw message
testcases/commands/cron/cron_dirs_checks01 deleted +0 -46
46 lines not on this page · raw message
testcases/commands/cron/cron_illegal_cron_lines deleted +0 -39
@@ -1,39 +0,0 @@ -# Collection of illegal cron lines -# Comment lines must habe its '#' as first character. -# The cron conf line and its description is seperated by '|'. -# cron job command 'true' is appended automatically - -# Illegal Minutes -61 * * * * | Minute 61 --1 * * * * | Minute -1 (might be interpreted as range) -0.5 * * * * | Minute 0.5 --1-10 * * * *| Minute Range -1-10 -0-61 * * * * | Minute Range 0-61 - -# Illegal hours -0 25 * * * | Hour 25 -0 -2 * * * | Hour -2 -0 3.5 * * *| Hour 3.5 -0 -4-10 * * *| Hour Range -4-10 -0 0-25 * * * | Hour Range 0-25 - -# Illegal day of month -0 0 32 * * | Day 32 -0 0 -1 * * | Day -1 -0 0 3.5 * *| Day 3.5 -0 0 -3-3 * *| Day Range -3-3 -0 0 0-32 * *| Day Range 0-32 - -# Illegal month -0 0 1 13 * | Month 13 -0 0 1 -1 * | Month -1 -0 0 1 2.5 * | Month 2.5 -0 0 1 -2-3 * | Month Range -2-3 -0 0 1 0-13 * | Month Range 0-13 - -# Illegal day of week -0 0 * * 8 | Day of Week 8 -0 0 * * -2 | Day of Week -2 -0 0 * * 2.5 | Day of Week 2.5 -0 0 * * -7-7 | Day of Week Range -7-7 -0 0 * * 0-8 | Day of Week Range 0-8
testcases/commands/cron/cron_neg_tests.sh deleted +0 -141
141 lines not on this page · raw message
testcases/commands/cron/cron_pos_tests.sh deleted +0 -118
118 lines not on this page · raw message
testcases/commands/cron/cron_tests.sh deleted +0 -276
276 lines not on this page · raw message
testcases/commands/df/Makefile deleted +0 -28
@@ -1,28 +0,0 @@ -# -# commands/df testcases Makefile. -# -# Copyright (c) 2015 Fujitsu Ltd. -# Author:Zhang Jin <[email protected]> -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# - -top_srcdir ?= ../../.. - -include $(top_srcdir)/include/mk/env_pre.mk - -INSTALL_TARGETS := df01.sh - -include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/commands/df/df01.sh deleted +0 -231
231 lines not on this page · raw message
testcases/commands/du/Makefile deleted +0 -27
@@ -1,27 +0,0 @@ -# -# commands/du testcases Makefile. -# -# Copyright (c) 2015 Fujitsu Ltd. -# Author: Zeng Linggang <[email protected]> -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -top_srcdir ?= ../../.. - -include $(top_srcdir)/include/mk/env_pre.mk - -INSTALL_TARGETS := du01.sh - -include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/commands/du/du01.sh deleted +0 -126
126 lines not on this page · raw message
testcases/commands/eject/Makefile deleted +0 -29
@@ -1,29 +0,0 @@ -# -# commands/eject testcases Makefile. -# -# Copyright (C) 2009, Cisco Systems Inc. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# Ngie Cooper, July 2009 -# - -top_srcdir ?= ../../.. - -include $(top_srcdir)/include/mk/testcases.mk - -INSTALL_TARGETS := eject-tests.sh - -include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/commands/eject/eject-tests.sh deleted +0 -165
151 lines not on this page · raw message
testcases/commands/eject/eject_check_tray.c deleted +0 -53
53 lines not on this page · raw message
testcases/commands/file/Makefile deleted +0 -29
Lines of this file are not shown. View the raw message.
testcases/commands/file/datafiles/.gitignore deleted +0 -1
Lines of this file are not shown. View the raw message.
testcases/commands/file/datafiles/Makefile deleted +0 -19
Lines of this file are not shown. View the raw message.
testcases/commands/file/datafiles/in.ar deleted +0 -10
Lines of this file are not shown. View the raw message.
testcases/commands/file/datafiles/in.bash deleted +0 -4
Lines of this file are not shown. View the raw message.
testcases/commands/file/datafiles/in.c deleted +0 -7
Lines of this file are not shown. View the raw message.
testcases/commands/file/datafiles/in.csh deleted +0 -4
Lines of this file are not shown. View the raw message.
testcases/commands/file/datafiles/in.jpg deleted binary +0 -0
testcases/commands/file/datafiles/in.ksh deleted +0 -4
Lines of this file are not shown. View the raw message.
testcases/commands/file/datafiles/in.m4 deleted +0 -5
Lines of this file are not shown. View the raw message.
testcases/commands/file/datafiles/in.mp3 deleted binary +0 -0
testcases/commands/file/datafiles/in.pl deleted +0 -3
Lines of this file are not shown. View the raw message.
testcases/commands/file/datafiles/in.png deleted binary +0 -0
testcases/commands/file/datafiles/in.py deleted +0 -3
Lines of this file are not shown. View the raw message.
testcases/commands/file/datafiles/in.sh deleted +0 -3
Lines of this file are not shown. View the raw message.
testcases/commands/file/datafiles/in.src.rpm deleted binary +0 -0
testcases/commands/file/datafiles/in.tar deleted binary +0 -0
testcases/commands/file/datafiles/in.tar.bz2 deleted binary +0 -0
testcases/commands/file/datafiles/in.tar.gz deleted binary +0 -0
testcases/commands/file/datafiles/in.txt deleted +0 -2
Lines of this file are not shown. View the raw message.
testcases/commands/file/datafiles/in.wav deleted binary +0 -0
testcases/commands/file/datafiles/in.zip deleted binary +0 -0
testcases/commands/file/file01.sh deleted +0 -106
106 lines not on this page · raw message
testcases/commands/gdb/Makefile deleted +0 -26
Lines of this file are not shown. View the raw message.
testcases/commands/gdb/gdb01.sh deleted +0 -41
41 lines not on this page · raw message
testcases/commands/gzip/Makefile deleted +0 -31
Lines of this file are not shown. View the raw message.
testcases/commands/gzip/gzip_tests.sh deleted +0 -170
170 lines not on this page · raw message
testcases/commands/insmod/Makefile deleted +0 -36
Lines of this file are not shown. View the raw message.
testcases/commands/insmod/insmod01.sh deleted +0 -60
60 lines not on this page · raw message
testcases/commands/insmod/ltp_insmod01.c deleted +0 -35
Lines of this file are not shown. View the raw message.
testcases/commands/keyctl/Makefile deleted +0 -24
Lines of this file are not shown. View the raw message.
testcases/commands/keyctl/keyctl01.sh deleted +0 -126
126 lines not on this page · raw message
testcases/commands/ld/Makefile deleted +0 -29
Lines of this file are not shown. View the raw message.
testcases/commands/ld/datafiles/Makefile deleted +0 -22
Lines of this file are not shown. View the raw message.
testcases/commands/ld/datafiles/d1.c deleted +0 -1
Lines of this file are not shown. View the raw message.
testcases/commands/ld/datafiles/f1.c deleted +0 -7
Lines of this file are not shown. View the raw message.
testcases/commands/ld/datafiles/main.c deleted +0 -10
Lines of this file are not shown. View the raw message.
testcases/commands/ld/datafiles/rd1.c deleted +0 -8
Lines of this file are not shown. View the raw message.
testcases/commands/ld/datafiles/rf1.c deleted +0 -10
Lines of this file are not shown. View the raw message.
testcases/commands/ld/ld01 deleted +0 -97
97 lines not on this page · raw message
testcases/commands/ldd/Makefile deleted +0 -25
Lines of this file are not shown. View the raw message.
testcases/commands/ldd/datafiles/Makefile deleted +0 -37
Lines of this file are not shown. View the raw message.
testcases/commands/ldd/datafiles/lddfile1.c deleted +0 -5
Lines of this file are not shown. View the raw message.
testcases/commands/ldd/datafiles/lddfile2.c deleted +0 -5
Lines of this file are not shown. View the raw message.
testcases/commands/ldd/datafiles/lddfile3.c deleted +0 -5
Lines of this file are not shown. View the raw message.
testcases/commands/ldd/datafiles/lddfile4.c deleted +0 -5
Lines of this file are not shown. View the raw message.
testcases/commands/ldd/datafiles/lddfile5.c deleted +0 -5
Lines of this file are not shown. View the raw message.
testcases/commands/ldd/datafiles/main.c deleted +0 -18
Lines of this file are not shown. View the raw message.
testcases/commands/ldd/ldd01 deleted +0 -64
64 lines not on this page · raw message
testcases/commands/ln/Makefile deleted +0 -31
Lines of this file are not shown. View the raw message.
testcases/commands/ln/ln_tests.sh deleted +0 -98
98 lines not on this page · raw message
testcases/commands/logrotate/00_Descriptions.txt deleted +0 -2
Lines of this file are not shown. View the raw message.
testcases/commands/logrotate/Makefile deleted +0 -31
Lines of this file are not shown. View the raw message.
testcases/commands/logrotate/logrotate_tests.sh deleted +0 -375
375 lines not on this page · raw message
testcases/commands/lsmod/Makefile deleted +0 -22
Lines of this file are not shown. View the raw message.
testcases/commands/lsmod/lsmod01.sh deleted +0 -50
50 lines not on this page · raw message
testcases/commands/mkdir/Makefile deleted +0 -31
Lines of this file are not shown. View the raw message.
testcases/commands/mkdir/mkdir_tests.sh deleted +0 -70
70 lines not on this page · raw message
testcases/commands/mkfs/Makefile deleted +0 -24
Lines of this file are not shown. View the raw message.
testcases/commands/mkfs/mkfs01.sh deleted +0 -197
197 lines not on this page · raw message
testcases/commands/mkswap/Makefile deleted +0 -22
Lines of this file are not shown. View the raw message.
testcases/commands/mkswap/mkswap01.sh deleted +0 -176
176 lines not on this page · raw message
testcases/commands/mv/Makefile deleted +0 -31
Lines of this file are not shown. View the raw message.
testcases/commands/mv/mv_tests.sh deleted +0 -170
170 lines not on this page · raw message
testcases/commands/nm/Makefile deleted +0 -29
Lines of this file are not shown. View the raw message.
testcases/commands/nm/datafiles/.gitignore deleted +0 -3
Lines of this file are not shown. View the raw message.
testcases/commands/nm/datafiles/Makefile deleted +0 -24
Lines of this file are not shown. View the raw message.
testcases/commands/nm/datafiles/f1.c deleted +0 -7
Lines of this file are not shown. View the raw message.
testcases/commands/nm/datafiles/f2.c deleted +0 -7
Lines of this file are not shown. View the raw message.
testcases/commands/nm/datafiles/f3.c deleted +0 -7
Lines of this file are not shown. View the raw message.
testcases/commands/nm/nm01 deleted +0 -137
137 lines not on this page · raw message
testcases/commands/su/Makefile deleted +0 -31
Lines of this file are not shown. View the raw message.
testcases/commands/su/su01 deleted +0 -181
181 lines not on this page · raw message
testcases/commands/su/su01_s1 deleted +0 -486
486 lines not on this page · raw message
testcases/commands/su/su_set_passwd deleted +0 -14
Lines of this file are not shown. View the raw message.
testcases/commands/sysctl/Makefile deleted +0 -25
Lines of this file are not shown. View the raw message.
testcases/commands/sysctl/sysctl01.sh deleted +0 -55
55 lines not on this page · raw message
testcases/commands/tar/Makefile deleted +0 -31
Lines of this file are not shown. View the raw message.
testcases/commands/tar/tar_tests.sh deleted +0 -152
152 lines not on this page · raw message
testcases/commands/tpm-tools/Makefile deleted +0 -27
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/Makefile deleted +0 -27
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_changeauth/00_Descriptions.txt deleted +0 -6
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_changeauth/Makefile deleted +0 -31
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_changeauth/tpm_changeauth_tests.sh deleted +0 -146
146 lines not on this page · raw message
testcases/commands/tpm-tools/tpm/tpm_changeauth/tpm_changeauth_tests_exp01.sh deleted +0 -39
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_changeauth/tpm_changeauth_tests_exp02.sh deleted +0 -40
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_changeauth/tpm_changeauth_tests_exp03.sh deleted +0 -44
44 lines not on this page · raw message
testcases/commands/tpm-tools/tpm/tpm_clear/00_Descriptions.txt deleted +0 -2
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_clear/Makefile deleted +0 -31
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_clear/tpm_clear_tests.sh deleted +0 -100
100 lines not on this page · raw message
testcases/commands/tpm-tools/tpm/tpm_clear/tpm_clear_tests_exp01.sh deleted +0 -33
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_getpubek/00_Descriptions.txt deleted +0 -2
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_getpubek/Makefile deleted +0 -31
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_getpubek/tpm_getpubek_tests.sh deleted +0 -100
100 lines not on this page · raw message
testcases/commands/tpm-tools/tpm/tpm_getpubek/tpm_getpubek_tests_exp01.sh deleted +0 -42
42 lines not on this page · raw message
testcases/commands/tpm-tools/tpm/tpm_restrictpubek/00_Descriptions.txt deleted +0 -6
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_restrictpubek/Makefile deleted +0 -31
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_restrictpubek/tpm_restrictpubek_tests.sh deleted +0 -146
146 lines not on this page · raw message
testcases/commands/tpm-tools/tpm/tpm_restrictpubek/tpm_restrictpubek_tests_exp01.sh deleted +0 -33
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_restrictpubek/tpm_restrictpubek_tests_exp02.sh deleted +0 -33
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_restrictpubek/tpm_restrictpubek_tests_exp03.sh deleted +0 -42
42 lines not on this page · raw message
testcases/commands/tpm-tools/tpm/tpm_selftest/00_Descriptions.txt deleted +0 -4
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_selftest/Makefile deleted +0 -31
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_selftest/tpm_selftest_tests.sh deleted +0 -109
109 lines not on this page · raw message
testcases/commands/tpm-tools/tpm/tpm_takeownership/00_Descriptions.txt deleted +0 -2
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_takeownership/Makefile deleted +0 -31
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_takeownership/tpm_takeownership_tests.sh deleted +0 -100
100 lines not on this page · raw message
testcases/commands/tpm-tools/tpm/tpm_takeownership/tpm_takeownership_tests_exp01.sh deleted +0 -39
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_version/00_Descriptions.txt deleted +0 -2
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_version/Makefile deleted +0 -31
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpm/tpm_version/tpm_version_tests.sh deleted +0 -94
94 lines not on this page · raw message
testcases/commands/tpm-tools/tpmtoken/Makefile deleted +0 -27
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/00_Descriptions.txt deleted +0 -20
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/Makefile deleted +0 -31
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_openssl.cnf deleted +0 -258
258 lines not on this page · raw message
testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_tests.sh deleted +0 -323
323 lines not on this page · raw message
testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_tests_exp01.sh deleted +0 -40
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_tests_exp02.sh deleted +0 -47
47 lines not on this page · raw message
testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_tests_exp03.sh deleted +0 -42
42 lines not on this page · raw message
testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_tests_exp04.sh deleted +0 -38
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_tests_exp05.sh deleted +0 -45
45 lines not on this page · raw message
testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_tests_exp06.sh deleted +0 -40
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_tests_exp07.sh deleted +0 -45
45 lines not on this page · raw message
testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/tpmtoken_import_tests_exp08.sh deleted +0 -44
44 lines not on this page · raw message
testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/00_Descriptions.txt deleted +0 -6
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/Makefile deleted +0 -31
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/tpmtoken_init_tests.sh deleted +0 -160
160 lines not on this page · raw message
testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/tpmtoken_init_tests_exp00.sh deleted +0 -39
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/tpmtoken_init_tests_exp01.sh deleted +0 -57
57 lines not on this page · raw message
testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/tpmtoken_init_tests_exp02.sh deleted +0 -60
60 lines not on this page · raw message
testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/tpmtoken_init_tests_exp03.sh deleted +0 -55
55 lines not on this page · raw message
testcases/commands/tpm-tools/tpmtoken/tpmtoken_objects/00_Descriptions.txt deleted +0 -4
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_objects/Makefile deleted +0 -31
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_objects/tpmtoken_objects_tests.sh deleted +0 -125
125 lines not on this page · raw message
testcases/commands/tpm-tools/tpmtoken/tpmtoken_objects/tpmtoken_objects_tests_exp01.sh deleted +0 -33
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_protect/00_Descriptions.txt deleted +0 -4
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_protect/Makefile deleted +0 -31
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_protect/tpmtoken_protect_data.txt deleted +0 -17
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_protect/tpmtoken_protect_tests.sh deleted +0 -153
153 lines not on this page · raw message
testcases/commands/tpm-tools/tpmtoken/tpmtoken_protect/tpmtoken_protect_tests_exp01.sh deleted +0 -36
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_protect/tpmtoken_protect_tests_exp02.sh deleted +0 -36
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/00_Descriptions.txt deleted +0 -8
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/Makefile deleted +0 -31
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/tpmtoken_setpasswd_tests.sh deleted +0 -171
171 lines not on this page · raw message
testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/tpmtoken_setpasswd_tests_exp01.sh deleted +0 -39
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/tpmtoken_setpasswd_tests_exp02.sh deleted +0 -39
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/tpmtoken_setpasswd_tests_exp03.sh deleted +0 -39
Lines of this file are not shown. View the raw message.
testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/tpmtoken_setpasswd_tests_exp04.sh deleted +0 -39
Lines of this file are not shown. View the raw message.
testcases/commands/unshare/Makefile deleted +0 -22
Lines of this file are not shown. View the raw message.
testcases/commands/unshare/unshare01.sh deleted +0 -171
171 lines not on this page · raw message
testcases/commands/unzip/Makefile deleted +0 -29
Lines of this file are not shown. View the raw message.
testcases/commands/unzip/datafiles/Makefile deleted +0 -19
Lines of this file are not shown. View the raw message.
testcases/commands/unzip/datafiles/dir.out deleted +0 -16
Lines of this file are not shown. View the raw message.
testcases/commands/unzip/datafiles/test.zip deleted binary +0 -0
testcases/commands/unzip/unzip01.sh deleted +0 -98
98 lines not on this page · raw message
testcases/commands/wc/Makefile deleted +0 -22
Lines of this file are not shown. View the raw message.
testcases/commands/wc/wc01.sh deleted +0 -81
81 lines not on this page · raw message
testcases/commands/which/Makefile deleted +0 -22
Lines of this file are not shown. View the raw message.
testcases/commands/which/which01.sh deleted +0 -118
118 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.13.6
Part of the diff is not shown here. View the raw message.
PATCH 1/1 commands: Remove all test cases
Hi,
Quoted 5 lines
Test cases testing commands are often outdated or not maintained. Those test cases also do not fit in with current LTP project status.
Signed-off-by Sebastian Chlad <[email protected]>---
this is controversial, as some people might be using some of them.
But I'd be for removing most of these - these are mostly smoke tests which should be in upstream repositories (I guess live projects has better tests than these), where they have better change to stay up to date.
Upstream tests are then can be run by packagers (and IMHO they're run, if they're available).
IMHO LTP should aim to test kernel, not userspace tools for Linux distros.
Kind regards,
Petr
PATCH 1/1 commands: Remove all test cases
Quoted 9 lines · On Thu, 26 Apr 2018 15:47:26 +0200 Petr Vorel <[email protected]> wrote:
Hi,
Quoted 6 lines
Test cases testing commands are often outdated or not maintained. Those test cases also do not fit in with current LTP project status.
Signed-off-by Sebastian Chlad <[email protected]>---
this is controversial, as some people might be using some of them.
Sure. I'm really looking forward to hearing some feedback on this.
Quoted 5 lines
But I'd be for removing most of these - these are mostly smoke tests which should be in upstream repositories (I guess live projects has better tests than these), where they have better change to stay up to date. Upstream tests are then can be run by packagers (and IMHO they're run, if they're available).
Actually valid point. Perhaps make sense to look closely at those commands and see if some of those should be removed.
Quoted 7 lines
IMHO LTP should aim to test kernel, not userspace tools for Linux distros.
Kind regards,
Petr
PATCH 1/1 commands: Remove all test cases
In reply to Petr VorelQuoted 7 lines · Petr Vorel
Hi,
Quoted 5 lines
Test cases testing commands are often outdated or not maintained. Those test cases also do not fit in with current LTP project status.
Signed-off-by Sebastian Chlad <[email protected]>---
Quoted 10 lines
this is controversial, as some people might be using some of them. But I'd be for removing most of these - these are mostly smoke tests which should be
in upstream repositories (I guess live projects has better tests than these), where they
have better change to stay up to date.
Upstream tests are then can be run by packagers (and IMHO they're run, if they're
available).
I often run these command test on upstream kernel, but it always looks look from the result.
I have no objection to remove them, but keep more test on linux distro is better i think.
Quoted 4 lines
IMHO LTP should aim to test kernel, not userspace tools for Linux distros.
Yes i agree, at least those crossover test case should be cleanup.
commands Passed:
Test Start Time: Wed Apr 25 05:19:56 2018
-----------------------------------------
Testcase Result Exit Value -------- ------ ---------- ar PASS 0 ld01 PASS 0 ldd01 PASS 0 nm01 PASS 0 file01 PASS 0 tar01 PASS 0 cron PASS 0 logrotate PASS 0 cpio01 PASS 0 unzip01 PASS 0 gzip01 PASS 0 cp01 PASS 0 ln01 PASS 0 mkdir01 PASS 0 mv01 PASS 0 du01 PASS 0 df01_ext2 PASS 0 df01_ext3 PASS 0 df01_ext4 PASS 0 df01_xfs PASS 0 df01_vfat CONF 32 df01_exfat CONF 32 df01_ntfs CONF 32 mkfs01 PASS 0 mkfs01_ext2 PASS 0 mkfs01_ext3 PASS 0 mkfs01_ext4 PASS 0 mkfs01_xfs CONF 32 mkfs01_btrfs CONF 32 mkfs01_minix CONF 32 mkfs01_msdos CONF 32 mkfs01_vfat CONF 32 mkfs01_ntfs CONF 32 mkswap01 PASS 0 which01 PASS 0 lsmod01 PASS 0 insmod01 PASS 0 wc01 PASS 0 keyctl01 PASS 0 gdb01 PASS 0 unshare01 PASS 0 sysctl01 PASS 0
-----------------------------------------------
Total Tests: 42
Total Skipped Tests: 9
Total Failures: 0
Kernel Version: 4.17.0-rc2
Machine Architecture: x86_64
Signature · 5 lines
Li Wang [email protected] -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linux.it/pipermail/ltp/attachments/20180427/f818656f/attachment.html>
PATCH 1/1 commands: Remove all test cases
In reply to Sebastian ChladQuoted 5 lines · Sebastian Chlad
Test cases testing commands are often outdated or not maintained. Those test cases also do not fit in with current LTP project status.
Signed-off-by Sebastian Chlad <[email protected]>---
Hi Sebastian,
...
Quoted 33 lines
testcases/commands/keyctl/keyctl01.sh deleted +0
-27@@ -1,126 +0,0 @@ -#!/bin/sh -# -# Copyright (c) 2017 Fujitsu Ltd. -# Ported: Guangwen Feng <[email protected]> -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program, if not, see <http://www.gnu.org/licenses/>. -# -# This is a regression test about potential uninitialized variable, -# the test can crash the buggy kernel, and the bug has been fixed in: -# -# commit 38327424b40bcebe2de92d07312c89360ac9229a -# Author: Dan Carpenter <[email protected]> -# Date: Thu Jun 16 15:48:57 2016 +0100 -# -# KEYS: potential uninitialized variable -#
...
Quoted 21 lines
testcases/commands/sysctl/sysctl01.sh deleted +0
-15@@ -1,55 +0,0 @@ -#!/bin/sh - -# Copyright (c) 2018 FUJITSU LIMITED. All rights reserved. -# Author: Xiao Yang <[email protected]> -# -# This program is free software; you can redistribute it and#or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -#
testcases/commands/sysctl/sysctl01.sh line 25
Quoted 10 lines
testcases/commands/sysctl/sysctl01.sh deleted +0
-10-# You should have received a copy of the GNU General Public License -# along with this program; if not, see <http://www.gnu.org/licenses/>. -# -# Description: -# This is a regression test for invalid value of sysctl_sched_time_avg. -# System will hang if user set sysctl_sched_time_avg to 0 on buggy kernel. -# -# The kernel bug has been fixed in kernel: -# '5ccba44ba118("sched/sysctl: Check user input value of sysctl_sched_time_avg")' -
And those tests also don't fit?
PATCH 1/1 commands: Remove all test cases
Quoted 73 lines · On Thu, 26 Apr 2018 17:28:30 +0300 Alexey Kodanev <[email protected]>…
Quoted 5 lines · Sebastian Chlad
Test cases testing commands are often outdated or not maintained. Those test cases also do not fit in with current LTP project status.
Signed-off-by Sebastian Chlad <[email protected]>---
Hi Sebastian,
...
Quoted 33 lines
(quoted diff) +0
-0
b/testcases/commands/keyctl/keyctl01.shdeleted file mode 100644 index 3fda3893b..000000000testcases/commands/keyctl/keyctl01.sh deleted +0
-6@@ -1,126 +0,0 @@ -#!/bin/sh -# -# Copyright (c) 2017 Fujitsu Ltd. -# Ported: Guangwen Feng <[email protected]> -# -# This program is free software; you can redistribute it and/ormodify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version.
testcases/commands/keyctl/keyctl01.sh deleted +0
-8-# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program, if not, see<http://www.gnu.org/licenses/>. -#
testcases/commands/keyctl/keyctl01.sh deleted +0
-2-# This is a regression test about potential uninitialized variable, -# the test can crash the buggy kernel, and the bug has been fixedin: -#
testcases/commands/keyctl/keyctl01.sh deleted +0
-6-# commit 38327424b40bcebe2de92d07312c89360ac9229a -# Author: Dan Carpenter <[email protected]> -# Date: Thu Jun 16 15:48:57 2016 +0100 -# -# KEYS: potential uninitialized variable -#...
Quoted 26 lines
(quoted diff) +0
-0
b/testcases/commands/sysctl/sysctl01.shdeleted file mode 100755 index 7522da53d..000000000testcases/commands/sysctl/sysctl01.sh deleted +0
-6@@ -1,55 +0,0 @@ -#!/bin/sh - -# Copyright (c) 2018 FUJITSU LIMITED. All rights reserved. -# Author: Xiao Yang <[email protected]> -# -# This program is free software; you can redistribute it and#ormodify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version.
testcases/commands/sysctl/sysctl01.sh deleted +0
-2-# -# This program is distributed in the hope that it will be useful,but -# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details.
testcases/commands/sysctl/sysctl01.sh deleted +0
-3-# -# You should have received a copy of the GNU General Public License -# along with this program; if not, see<http://www.gnu.org/licenses/>. -#
testcases/commands/sysctl/sysctl01.sh deleted +0
-2-# Description: -# This is a regression test for invalid value of
Quoted 8 lines
Quoted 6 lines
sysctl_sched_time_avg. -# System will hang if user setsysctl_sched_time_avgto 0 on buggy kernel. -#testcases/commands/sysctl/sysctl01.sh deleted +0
-2-# The kernel bug has been fixed in kernel: -# '5ccba44ba118("sched/sysctl: Check user input value of
sysctl_sched_time_avg")'
-And those tests also don't fit?
Sure, good point.
Honestly I just wanted to pick your brain and ask community what's the best approach for commands testing.
One might also say - better leave them there and do not run them if you are not happy with it. Sure.
So really over to community and maintainers to advise what would be the best approach here.
PATCH 1/1 commands: Remove all test cases
----- Original Message -----
Quoted 9 lines
Honestly I just wanted to pick your brain and ask community what's the best approach for commands testing.
One might also say - better leave them there and do not run them if you are not happy with it. Sure.
So really over to community and maintainers to advise what would be the best approach here.
I'd go one by one. For those that are broken, propose them to be removed and CC people who touched it in last ~2-3 years.
@Li: Does ltp/general run all commands? Are there failures?
Regards,
Jan
PATCH 1/1 commands: Remove all test cases
Quoted 9 lines · Jan Stancek
----- Original Message -----
Quoted 7 lines
Honestly I just wanted to pick your brain and ask community what's the best approach for commands testing.
One might also say - better leave them there and do not run them if you are not happy with it. Sure.
Quoted 9 lines
Quoted 2 lines
So really over to community and maintainers to advise what would be the best approach here.
I'd go one by one. For those that are broken, propose them to be removed and CC people who touched it in last ~2-3 years.
@Li: Does ltp/general run all commands? Are there failures?
Yes, ltp/general test include that.
The LTP commands test always works fine for RHEL, I just find only 1 failure on upstream kernel-v4.17-rc2 yesterday, but I have not get a chance to look into it.
Kernel Version: 4.17.0-rc2
Machine Architecture: ppc64le
<<<test_start>>>
tag=lsmod01 stime=1524645511
cmdline="lsmod01.sh"
contacts=""
analysis=exit
<<<test_output>>>
lsmod01 1 TFAIL: lsmod output different from /proc/modules. 15c15
< loop 31719 2
---
Quoted 1 line
loop 31719 1
Summary:
passed 0 failed 1 skipped 0
warnings 0
Signature · 5 lines
Li Wang [email protected] -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linux.it/pipermail/ltp/attachments/20180427/d291e4da/attachment.html>
PATCH 1/1 commands: Remove all test cases
In reply to Alexey KodanevHi,
Quoted 5 lines · Sebastian Chlad
Quoted 4 lines
Test cases testing commands are often outdated or not maintained. Those test cases also do not fit in with current LTP project status.
Signed-off-by Sebastian Chlad <[email protected]>
...
Quoted 4 lines
Quoted 4 lines
testcases/commands/keyctl/keyctl01.sh deleted +0
-1--- a/testcases/commands/keyctl/keyctl01.sh
...
Quoted 9 lines
Quoted 9 lines
testcases/commands/keyctl/keyctl01.sh deleted +0
-9-# This is a regression test about potential uninitialized variable, -# the test can crash the buggy kernel, and the bug has been fixed in: -# -# commit 38327424b40bcebe2de92d07312c89360ac9229a -# Author: Dan Carpenter <[email protected]> -# Date: Thu Jun 16 15:48:57 2016 +0100 -# -# KEYS: potential uninitialized variable -#
...
Quoted 1 line
Quoted 1 line
---
a/testcases/commands/sysctl/sysctl01.sh
...
Quoted 9 lines
testcases/commands/keyctl/keyctl01.sh
Quoted 7 lines
testcases/commands/keyctl/keyctl01.sh deleted +0
-7-# Description: -# This is a regression test for invalid value of sysctl_sched_time_avg. -# System will hang if user set sysctl_sched_time_avg to 0 on buggy kernel. -# -# The kernel bug has been fixed in kernel: -# '5ccba44ba118("sched/sysctl: Check user input value of sysctl_sched_time_avg")' -And those tests also don't fit?
sysctl and keyctl are actually testing kernel bugs.
Other kernel related (at least lsmod, mkfs, mkswap, unshare, ldd, gdb) + TPM tools (tpm-tools, ...) are probably valid.
I guess most of user space tools not related to kernel (cp, cron, df, ln, tar, unzip, wc, which) are questionable.
du01 and ar01 are mentioned in git log to catch some bug, so we'd have to carefully check one by one if we want to remove them (and remove them in separate commits, but that's obvious).
Kind regards,
Petr
PATCH 1/1 commands: Remove all test cases
Quoted 35 lines · Petr Vorel
Hi,
Quoted 4 lines · Sebastian Chlad
Quoted 3 lines
Test cases testing commands are often outdated or not maintained. Those test cases also do not fit in with current LTP project status.
Signed-off-by Sebastian Chlad<[email protected]>...
Quoted 4 lines
Quoted 4 lines
testcases/commands/keyctl/keyctl01.sh deleted +0
-1--- a/testcases/commands/keyctl/keyctl01.sh...
Quoted 9 lines
Quoted 9 lines
testcases/commands/keyctl/keyctl01.sh deleted +0
-9-# This is a regression test about potential uninitialized variable, -# the test can crash the buggy kernel, and the bug has been fixed in: -# -# commit 38327424b40bcebe2de92d07312c89360ac9229a -# Author: Dan Carpenter<[email protected]> -# Date: Thu Jun 16 15:48:57 2016 +0100 -# -# KEYS: potential uninitialized variable -#...
Quoted 1 line
Quoted 1 line
---
a/testcases/commands/sysctl/sysctl01.sh...
Quoted 8 lines
testcases/commands/keyctl/keyctl01.sh
Quoted 7 lines
testcases/commands/keyctl/keyctl01.sh deleted +0
-7-# Description: -# This is a regression test for invalid value of sysctl_sched_time_avg. -# System will hang if user set sysctl_sched_time_avg to 0 on buggy kernel. -# -# The kernel bug has been fixed in kernel: -# '5ccba44ba118("sched/sysctl: Check user input value of sysctl_sched_time_avg")' -And those tests also don't fit?
Quoted 3 lines
sysctl and keyctl are actually testing kernel bugs.
Other kernel related (at least lsmod, mkfs, mkswap, unshare, ldd, gdb) + TPM tools (tpm-tools, ...) are probably valid.
Hi,
I want to leave unshare01 because it could test not only namespaces but also a RHEL specific bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1463072
I attach the fix patch for your reference.
Thanks,
Xiao Yang
Quoted 9 lines
I guess most of user space tools not related to kernel (cp, cron, df, ln, tar, unzip, wc, which) are questionable.
du01 and ar01 are mentioned in git log to catch some bug, so we'd have to carefully check one by one if we want to remove them (and remove them in separate commits, but that's obvious).Kind regards,
Petr
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 61136-fs-mntns-Remove-incorrect-put_mnt_ns.patch
URL: <http://lists.linux.it/pipermail/ltp/attachments/20180427/4599a3cf/attachment.ksh>
PATCH 1/1 commands: Remove all test cases
In reply to Petr VorelQuoted 35 lines · Petr Vorel
Hi,
Quoted 4 lines · Sebastian Chlad
Quoted 3 lines
Test cases testing commands are often outdated or not maintained. Those test cases also do not fit in with current LTP project status.
Signed-off-by Sebastian Chlad<[email protected]>...
Quoted 4 lines
Quoted 4 lines
testcases/commands/keyctl/keyctl01.sh deleted +0
-1--- a/testcases/commands/keyctl/keyctl01.sh...
Quoted 9 lines
Quoted 9 lines
testcases/commands/keyctl/keyctl01.sh deleted +0
-9-# This is a regression test about potential uninitialized variable, -# the test can crash the buggy kernel, and the bug has been fixed in: -# -# commit 38327424b40bcebe2de92d07312c89360ac9229a -# Author: Dan Carpenter<[email protected]> -# Date: Thu Jun 16 15:48:57 2016 +0100 -# -# KEYS: potential uninitialized variable -#...
Quoted 1 line
Quoted 1 line
---
a/testcases/commands/sysctl/sysctl01.sh...
Quoted 8 lines
testcases/commands/keyctl/keyctl01.sh
Quoted 7 lines
testcases/commands/keyctl/keyctl01.sh deleted +0
-7-# Description: -# This is a regression test for invalid value of sysctl_sched_time_avg. -# System will hang if user set sysctl_sched_time_avg to 0 on buggy kernel. -# -# The kernel bug has been fixed in kernel: -# '5ccba44ba118("sched/sysctl: Check user input value of sysctl_sched_time_avg")' -And those tests also don't fit?
Quoted 3 lines
sysctl and keyctl are actually testing kernel bugs.
Other kernel related (at least lsmod, mkfs, mkswap, unshare, ldd, gdb) + TPM tools (tpm-tools, ...) are probably valid.
Hi,
I want to leave unshare01 because it could test not only namespaces but also a RHEL specific bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1463072
I attach the fix patch for your reference.
Thanks,
Xiao Yang
Quoted 9 lines
I guess most of user space tools not related to kernel (cp, cron, df, ln, tar, unzip, wc, which) are questionable.
du01 and ar01 are mentioned in git log to catch some bug, so we'd have to carefully check one by one if we want to remove them (and remove them in separate commits, but that's obvious).Kind regards,
Petr
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 61136-fs-mntns-Remove-incorrect-put_mnt_ns.patch
URL: <http://lists.linux.it/pipermail/ltp/attachments/20180427/dda212d6/attachment.ksh>
PATCH 1/1 commands: Remove all test cases
Hi Xiao,
Quoted 8 lines
Quoted 3 lines
sysctl and keyctl are actually testing kernel bugs.
Other kernel related (at least lsmod, mkfs, mkswap, unshare, ldd, gdb) + TPM tools (tpm-tools, ...) are probably valid.Hi,
I want to leave unshare01 because it could test not only namespaces but also a RHEL specific bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1463072
I attach the fix patch for your reference.
Bug is not visible ("You are not authorized to access bug #1463072. To see this bug, you must first log in to an account with the appropriate permissions."), but the fix is self-describing, thanks for sending it.
Quoted 2 lines
Thanks,
Xiao Yang
Kind regards,
Petr
PATCH 1/1 commands: Remove all test cases
In reply to Petr VorelHi!
Quoted 2 lines
I guess most of user space tools not related to kernel (cp, cron, df, ln, tar, unzip, wc, which) are questionable.
It's really hard to draw a line here, but I would probably vote for keeping tests that are working with files such as cp/df/ln/wc as these are basically just printing result from UNIX/POSIX syscalls.
We probably want to get rid of the unzip and wc test, since that is not really kernel related.
Signature · 2 lines
Cyril Hrubis [email protected]
PATCH 1/1 commands: Remove all test cases
Hi!
Quoted 2 lines
It's really hard to draw a line here, but I would probably vote for keeping tests that are working with files such as cp/df/ln/wc as these
^ This shouldn't be obviously here...
Signature · 2 lines
Cyril Hrubis [email protected]
PATCH 1/1 commands: Remove all test cases
In reply to Cyril HrubisHi,
Quoted 9 lines
Quoted 2 lines
I guess most of user space tools not related to kernel (cp, cron, df, ln, tar, unzip, wc, which) are questionable.
It's really hard to draw a line here, but I would probably vote for keeping tests that are working with files such as cp/df/ln as these are basically just printing result from UNIX/POSIX syscalls.
We probably want to get rid of the unzip and wc test, since that is not really kernel related.
I recently pushed some patches sent by Mylène Josserand, just in case we don't get rid of these tests.
BTW Mylène, Thomas, do you know people running these test on embedded? That might justify some of the tests (not sure if it's possible to run busybox tests without compilation - for machines which have their sources cross compiled).
Kind regards,
Petr
PATCH 1/1 commands: Remove all test cases
Quoted 12 lines · On Wed, 16 May 2018 12:12:51 +0200 Petr Vorel <[email protected]> wrote:
Hi,
Quoted 9 lines
Quoted 2 lines
I guess most of user space tools not related to kernel (cp, cron, df, ln, tar, unzip, wc, which) are questionable.
It's really hard to draw a line here, but I would probably vote for keeping tests that are working with files such as cp/df/ln as these are basically just printing result from UNIX/POSIX syscalls.
We probably want to get rid of the unzip and wc test, since that is not really kernel related.
Quoted 7 lines
I recently pushed some patches sent by Mylène Josserand, just in case we don't get rid of these tests.
BTW Mylène, Thomas, do you know people running these test on embedded? That might justify some of the tests (not sure if it's possible to run busybox tests without compilation - for machines which have their sources cross compiled).
thx Petr for reminding me of this email thread.
I really like the idea from Jan, so in coming weeks I will really follow that advice and 'll go one by one command. "For those that are broken, propose them to be removed and CC people who touched it in last ~2-3 years"
Quoted 4 lines
Kind regards,
Petr
PATCH 1/1 commands: Remove all test cases
In reply to Petr VorelHello,
Quoted 9 lines · On Wed, 16 May 2018 12:12:51 +0200 Petr Vorel <[email protected]> wrote:
Hi,
Quoted 6 lines
Quoted 2 lines
I guess most of user space tools not related to kernel (cp, cron, df, ln, tar, unzip, wc, which) are questionable.
It's really hard to draw a line here, but I would probably vote for keeping tests that are working with files such as cp/df/ln as these are basically just printing result from UNIX/POSIX syscalls.
Quoted 5 lines
Quoted 2 lines
We probably want to get rid of the unzip and wc test, since that is not really kernel related.
I recently pushed some patches sent by Mylène Josserand, just in case we don't get rid of these tests.
Yes, thank you for that!
Quoted 4 lines
BTW Mylène, Thomas, do you know people running these test on embedded? That might justify some of the tests (not sure if it's possible to run busybox tests without compilation - for machines which have their sources cross compiled).
We currently have one customer that run these tests on an embedded platform but in fact, we run the default scenario_group (that is why, we run "commands" runtest). I guess that if the community think these tests are not useful anymore, there is no problem on our side. Our customer is using it to "show" that LTP is successfully runnable on their platform, that it is.
I am pretty new to LTP but I had the feeling that these "commands" tests rely maybe too much on applications and not on Linux kernel features. Many of them are returning TCONF in our case because we do not have the correct configuration (busybox options, etc).
Thank you in advance,
Best regards,
Signature · 3 lines
Mylène Josserand, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com
PATCH 1/1 commands: Remove all test cases
Hi!
Quoted 11 lines
Quoted 3 lines
BTW Myl??ne, Thomas, do you know people running these test on embedded? That might justify some of the tests (not sure if it's possible to run busybox tests without compilation - for machines which have their sources cross compiled).
We currently have one customer that run these tests on an embedded platform but in fact, we run the default
scenario_group(that is why, we run "commands" runtest). I guess that if the community think these tests are not useful anymore, there is no problem on our side. Our customer is using it to "show" that LTP is successfully runnable on their platform, that it is.
Quoted 4 lines
I am pretty new to LTP but I had the feeling that these "commands" tests rely maybe too much on applications and not on Linux kernel features. Many of them are returning TCONF in our case because we do not have the correct configuration (busybox options, etc).
As discussed in the orignal thread that proposed removing these testcases, some of the tests are related to kernel, some not so much.
For example the file or cron tests does not correspond to any kernel functionality at all, while the df or du testcases, for instance, are testing kernel filesystem implementation. So the plain is to examine these tests case by case.
Signature · 2 lines
Cyril Hrubis [email protected]
PATCH 1/1 commands: Remove all test cases
In reply to Mylène JosserandHi Mylène,
Quoted 11 lines
Quoted 3 lines
BTW Mylène, Thomas, do you know people running these test on embedded? That might justify some of the tests (not sure if it's possible to run busybox tests without compilation - for machines which have their sources cross compiled).
We currently have one customer that run these tests on an embedded platform but in fact, we run the default
scenario_group(that is why, we run "commands" runtest). I guess that if the community think these tests are not useful anymore, there is no problem on our side. Our customer is using it to "show" that LTP is successfully runnable on their platform, that it is.
Quoted 4 lines
I am pretty new to LTP but I had the feeling that these "commands" tests rely maybe too much on applications and not on Linux kernel features. Many of them are returning TCONF in our case because we do not have the correct configuration (busybox options, etc).
Thanks a lot for sharing your use case!
Kind regards,
Petr