1. 0aeb2c7 Create testcase for p9auth kernel module: The p9auth module is a driver in the staging/ directory, which implements kernel functionality supporting plan 9-style setuid. Programs can be completely unprivileged, authorize themselves to a privileged server, and obtain a token which they can use to authorize a single setuid to a single specified new uid. This testcase runs three tests: by subrata_modak · 15 years ago
  2. 04f47a1 ftest cleanup II: this is ftest cleanup part II. Most of the functions that were copy & pasted again and again in every file are now in libftest library. Also ftest04, ftest05, ftest06, ftest07 and ftest08 are cleaned. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>. by subrata_modak · 15 years ago
  3. 56e75bd The following patch avoids that all kill07 test instances running concurrently work with the same SHM object. Signed-off-by: Matthieu Fertr <Matthieu.Fertre@kerlabs.com>. by subrata_modak · 15 years ago
  4. 93e8cf0 Filecaps: Return TCONF if file capabilities are not supported: Currently the test just fails if file capabilities are not supported. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>. by subrata_modak · 15 years ago
  5. 62751b7 smt_smp: Return TCONF if SMT/SMP is not supported: Currently the tests just fails if SMT/SMP is not supported. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>. by subrata_modak · 15 years ago
  6. 0bf331f Numa-testcases: Return TCONF if NUMA is not available: Currently the test just fails if NUMA is not available. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>. by subrata_modak · 15 years ago
  7. 6341206 Spelling fixes: inclue -> include: Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>. by subrata_modak · 15 years ago
  8. a0ca8a0 quotactl01: Replace hardcoded 258 by __NR_set_tid_address: The call signature seems to match the set_tid_address() syscall. Also remove the comment about calling quotactl, as it's obviously bogus. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>. by subrata_modak · 15 years ago
  9. 04583fa quotactl01: Fix tst_resm() format causing crash: When the quotactl syscall fails, quotactl01 crashes with a segmentation fault due to an incorrect printf()-style format. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>. by subrata_modak · 15 years ago
  10. 624a96e Issue observed with chmod05, fchmod05 test cases: This Patch fixes bug in the test cases chmod05.c and fchmod05.c. The test case uses 2 UserIds nobody and bin. The issue is observed when one of the UserId is the supplementary group Ids of the rooti (either nobody or bin). In that case the Posix standard mentions that S_IGSID bit should not be cleared by the systemcall, chmod() or fchmod(), which causes the test to fail. This patch fixes the issue by specifically clearing the supplementary group ID of the process. The main intention of the test case is to test if S_IGSID bit is cleared in case the non privilage user tries to set file modes. Hence felt clearing the supplementary group Ids is the best way to fix the issue. At the same time I am reverting the earlier patch submitted by Wei Yongjun <yjwei@cn.fujitsu.com>. Signed-off-by: Sharyathi Nagesh <sharyath@in.ibm.com>. by subrata_modak · 15 years ago
  11. 41e4696 I propose two patches (two patterns of fix) for an issue of open_posix_testsuite. I hope either one of them (or more better one someone will write) is committed. You need to do three steps below in order to run execute.sh of open_posix_testsuite: by subrata_modak · 15 years ago
  12. a95f414 fix the bug of macro in getdelays.c: When running cgroup test, I found a bug of macro in getdelays.c, which refers to the spelling mistake. And this leads to testcase_eight's abnormal delay. Relative macro: by subrata_modak · 15 years ago
  13. 10b9335 Add new testcases for memcgroup: My workmate Li Zefan (lizf@cn.fujitsu.com) has created some testcases for cgroup's subsystem "memory" in the last year. And, He catched some kernel bugs through these testcases. So we think you glad to push them into LTP. There are total 40 testcases that have been added. These testcases contain the basis operation test, part functionality test and stress test of memcgroup. How to run this test: # runltp -f controllers. by subrata_modak · 15 years ago
  14. 3a0d3d2 pselect01: Fixed the checking logic to also consider some variation: Sometimes we may get failed results that the measured time is 1 second longer than expected. As fixed by Craig Meier earlier, the sleeps may last slightly more than total_sec. Also considering the time() overhead, we should expect the sleeps to last between total_sec and (total_sec+1) seconds. Signed-off-by: Nobuhiro Lin <nobuhiro@andestech.com>, by subrata_modak · 15 years ago
  15. e88ddc7 network: fix multicast testcases Makefile: Repost the multicast Makefile patch: The Makefile of testcases/network/multicast/mc_commo and mc_member do not link binary file and config files to ../../../bin dirs. This patch add the links. Signed-off-by: Hushan Jia<hjia@redhat.com>, by subrata_modak · 15 years ago
  16. 9140129 network: Fix ip_tests error 2: Repost the ip tests patch: by subrata_modak · 15 years ago
  17. c81d7b9 After trying to find old enough glibc (2.2.2 and older) in any distribution I've given up modifying the test to compile with non glibc epoll library. So when glibc epoll headers are not found the test is disabled entirely and dummy version of the test is compiled. Patch that also fixes some minor problems is attached. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>. by subrata_modak · 15 years ago
  18. 575839e cpuctl of controllers: fix the bug of while loop: When running the ltp tool by "./runltp -f controllers", I found "while" loop cannot stop in following files of cpuctl test. File list: by subrata_modak · 15 years ago
  19. 5b99646 runltp can not run acl_test01 by default, we need a mounted partition with ACL options. To have acl_test01 started by runltp (or manually) without any acl aware partition, if you agree I suggest the following patch: a kind of new setup and at the same time the activation of a non root user. Signed-off-by: JACKY MALCLES <Jacky.Malcles@bull.net>. by subrata_modak · 15 years ago
  20. 81bd560 gen_fork() event should wait until the child exits. Otherwise the child would see INIT as the parent and end up in collecting wrong information to compare with. Signed-off-by: Suzuki K P <suzuki@in.ibm.com>, Acked-by: Li Zefan <lizf@cn.fujitsu.com>. by subrata_modak · 15 years ago
  21. 7514c35 Add autoconf tests for taskstats members not present on older kernels: this is cleaned version of previously posted patch. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>. by subrata_modak · 15 years ago
  22. e6fb63f LTP-LDFLAGS-enable: To make use of full testsuite of open_posix_testsuite we need to enable LDFLAGS. It is file used by the Makefile to link to what you specify in it. e.g. if you want to link with lpthread. By using these Flags can build up to 1888 test case with out the flags can build up to 486. However, the Best practice is to use posix test suite with the LDFLAGS. I have attached patch and below, please review the same. by subrata_modak · 15 years ago
  23. 2130b5e mbind01: Fix the bug of mind case10: I tested ltp mbind01 case and found the case10 failed. In case10, the expect errno is EFAULT. In mbind manual, it says "EFAULT Part or all of the memory range specified by nodemask and maxnode points outside your accessible address space.". So the case should use invalid "nodemask" instead of invalid "p" to test. Signed-off-by: Zhang Xiliang <zhangxiliang@cn.fujitsu.com>. by subrata_modak · 15 years ago
  24. 3c2d60d mbind01: Fix the bug of mind case06: I tested ltp mbind case and found the case06 failed. In mbind manual, it says "If the nodemask and maxnode arguments specify the empty set, then the memory is allocated on the node of the CPU that triggered the allocation." In case06, when tc->policy is MPOL_PREFERRED and tc->from_node is NONE, the getnodemask which is get by get_mempolicy() refer to the node of the CPU that triggered the allocation. But the nodemask is zero.(It is not used by mbind(), mbind() used "NULL".). So in this case, the cmp_ok should only compare the policy. Signed-off-by: Zhang Xiliang <zhangxiliang@cn.fujitsu.com>. by subrata_modak · 15 years ago
  25. 736e4b4 mbind01: Fix the bug of result output: I tested ltp mbind case and found the result is error as follows: by subrata_modak · 15 years ago
  26. 1fbecac Network: Fix iproute test case error: When I run network test case testcases/network/iproute/ip_tests.sh, some errors shown: by subrata_modak · 15 years ago
  27. ab0042b Fix UNRESOLVED failures of pthread tests in open_posix_testsuite: I report a couple of "UNRESOLVED" failures of open_posix_testsuite in ltp and send a patch for them. I got following failures while executing open_posix_testsuite: Both of them have wrong steps of its test preparation: by subrata_modak · 15 years ago
  28. f17ac84 Formatting and ftest cleanup: This is first part of testcases/kernel/fs/ftest/ cleanup. It fixes printf like formatting in pidns20.c and growfiles.c as well as huge number of bugs and code formatting issues in ftest01.c ftest02.c and ftest03.c. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>. by subrata_modak · 15 years ago
  29. 077a00e Patch to change the format of Steve Rostedt's rt-migrate-test testcase: This patch converts the testcase rt-migrate-test.c to the coding format used by the other realtime testcases in LTP, by making use of the librttest and libstats infrastructure. Signed-off-by: Kiran Prakash <kiran@linux.vnet.ibm.com>, Acked-by: Darren Hart <dvhltc@us.ibm.com>, Acked-by: Sripathi Kodi <sripathik@in.ibm.com>. Originally-contributed-by: Steven Rostedt <rostedt@goodmis.org>, by subrata_modak · 15 years ago
  30. 3bd61ee controller: fix the bug of missing compilation for controller cases: When doing "./configure && make", I found the controller cases couldn't be compiled. Because the config.mk file included into testcases/kernel/Makefile lost the definition of LTP_CHECK_CGROUPSTATS_HEADER, so ltp never enters the controller directory to do "make". And config.mk file is created by config.mk.in file in fact. In config.mk.in, LTP_CHECK_CGROUPSTATS_HEADER is lost, it leads to the wrong config.mk. Add LTP_CHECK_CGROUPSTATS_HEADER in config.mk.in to fix the problem. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>, Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>. by subrata_modak · 15 years ago
  31. 90f90d4 Changes for AUGUST 2009. Signed-off-by: Subrata Modak<subrata@linux.vnet.ibm.com>. by subrata_modak · 15 years ago
  32. 5bde8ca Remove a line with `=======' which is getting confused by our SCM prog at Cisco with an RCS marker. by yaberauneya · 15 years ago
  33. 0d719e5 Re-applying again after Mikeś huge changes to the testcases/kernel/syscalls testcases. Subrata Modak <subrata@linux.vnet.ibm.com>. by subrata_modak · 15 years ago
  34. 5b26306 Add autoconf tests for taskstats members not present on older kernels: The autoconf part is okay, but getdelays.c needs some more #ifdef HAVE_LINUX_CGROUPSTAT_H to build correctly on all I have here. Patch attached, however it may need minor cleanups. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>. by subrata_modak · 15 years ago
  35. d1e1973 This problem has been forgotten for some time but it still makes trouble with too strict buildsystems. See attached patch that also fixes minor style problems. Signed-off-by: chrubis@suse.cz. by subrata_modak · 15 years ago
  36. b975af4 sched_cli_serv: Wait a bit before trying to connect: The sched_cli_serv test launches the server in the background and expects the client to be able to connect to it immediately. Depending on (earlier) system load, that may fail. Wait a bit before starting the client. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>. by subrata_modak · 15 years ago
  37. bab9cb9 To test ILB feature in Power management a set of testcases has been developed. These patches tests ILB with respect to different test variables sched_mc, sched_smt and workload. The patches sent has been tested on Quad core machine. [Patch 8/8]Patch to modify Readme file as new functionality testcase is integrated. Signed-off-by: poornima nayak <mpnayak@linux.vnet.ibm.com>. by subrata_modak · 15 years ago
  38. de3d05c To test ILB feature in Power management a set of testcases has been developed. These patches tests ILB with respect to different test variables sched_mc, sched_smt and workload. The patches sent has been tested on Quad core machine. [Patch 7/8] Patch for cpu_consolidation to incorporate changes in reusable function. Signed-off-by: poornima nayak <mpnayak@linux.vnet.ibm.com>. by subrata_modak · 15 years ago
  39. 7aa7458 To test ILB feature in Power management a set of testcases has been developed. These patches tests ILB with respect to different test variables sched_mc, sched_smt and workload. The patches sent has been tested on Quad core machine. [Patch 6/8] Included new function to check feature versus kernel version. Signed-off-by: poornima nayak <mpnayak@linux.vnet.ibm.com>. by subrata_modak · 15 years ago
  40. 0ab4828 To test ILB feature in Power management a set of testcases has been developed. These patches tests ILB with respect to different test variables sched_mc, sched_smt and workload. The patches sent has been tested on Quad core machine. [Patch 5/8] Modified library functions based on review comments: Incorporated Garrett Cooper's comments & hence modified code. Signed-off-by: poornima nayak <mpnayak@linux.vnet.ibm.com>. by subrata_modak · 15 years ago
  41. 7e317cf To test ILB feature in Power management a set of testcases has been developed. These patches tests ILB with respect to different test variables sched_mc, sched_smt and workload. The patches sent has been tested on Quad core machine. [Patch 4/8] Addional new reusable functions for ILB testing: Developed new functions to support ILB test execution and result verification. Minimal changes has been done for exisitng function to support ILB test execution. Signed-off-by: poornima nayak <mpnayak@linux.vnet.ibm.com>. by subrata_modak · 15 years ago
  42. 89096ba To test ILB feature in Power management a set of testcases has been developed. These patches tests ILB with respect to different test variables sched_mc, sched_smt and workload. The patches sent has been tested on Quad core machine. [Patch 3/8] Patch to integrate ILB testcase to LTP: Signed-off-by: poornima nayak <mpnayak@linux.vnet.ibm.com>. by subrata_modak · 15 years ago
  43. 7527a4b To test ILB feature in Power management a set of testcases has been developed. These patches tests ILB with respect to different test variables sched_mc, sched_smt and workload. The patches sent has been tested on Quad core machine. [Patch 2/8] Power management master script modified to integrate ILB testcase: Power management master script modified to integrate ILB testcases. Signed-off-by: poornima nayak <mpnayak@linux.vnet.ibm.com>. by subrata_modak · 15 years ago
  44. e8c47a2 To test ILB feature in Power management a set of testcases has been developed. These patches tests ILB with respect to different test variables sched_mc, sched_smt and workload. The patches sent has been tested on Quad core machine. New testcase to validate Ideal Load Balancer Functionality. By default sets sched_mc_power_savings & sched_smt_power savings to the value passed as argument and then triggers kernbench by pinning it to the CPUn. Signed-off-by: poornima nayak <mpnayak@linux.vnet.ibm.com>. by subrata_modak · 15 years ago
  45. b0b6f45 fix printf strings by vapier · 15 years ago
  46. c450e06 fix/cleanup printf strings and errno handling by vapier · 15 years ago
  47. 80c1a17 fix printf args by vapier · 15 years ago
  48. e5fce93 fix/cleanup most printf strings and errno handling by vapier · 15 years ago
  49. 80a715a cleanup code and printf format strings by vapier · 15 years ago
  50. b8a44eb remove some useless sprintf indirection by vapier · 15 years ago
  51. 7481306 remove useless sprintf indirection by vapier · 15 years ago
  52. 64a5544 try and cleanup ugly message passing ... hopefully i didnt break anything by vapier · 15 years ago
  53. 8447d11 fix/cleanup printf strings and errno handling by vapier · 15 years ago
  54. 8dcffd8 fix printf strings by vapier · 15 years ago
  55. 356d38a fix/cleanup printf strings by vapier · 15 years ago
  56. f2ed15b fix/cleanup printf strings and errno handling by vapier · 15 years ago
  57. 5fa775a use a printf string to silence gcc by vapier · 15 years ago
  58. ae54285 fix/cleanup printf strings and errno handling by vapier · 15 years ago
  59. e7a6ab5 remove useless sprintf indirection by vapier · 15 years ago
  60. ce6a0e3 fix/cleanup printf strings and errno handling by vapier · 15 years ago
  61. d0c9e5f fix unused label warning and cleanup errno handling by vapier · 15 years ago
  62. 5a6aca9 fix/cleanup printf strings and errno handling by vapier · 15 years ago
  63. 7d9b261 remove useless sprintf indirection by vapier · 15 years ago
  64. c20c04b fix/cleanup printf strings and errno handling by vapier · 15 years ago
  65. 293f19b fix/cleanup printf strings and errno handling by vapier · 15 years ago
  66. 019fc96 add missing tst_is_cwd_ramfs() prototype by vapier · 15 years ago
  67. 2d2d01b clean all objects, not just the few we care about by vapier · 15 years ago
  68. 4a5373f fix/cleanup printf strings and errno handling by vapier · 15 years ago
  69. c8b68a4 fix/cleanup printf strings and errno handling by vapier · 15 years ago
  70. df90996 fix printf modifiers by vapier · 15 years ago
  71. dac6873 cleanup printf strings and errno handling by vapier · 15 years ago
  72. 0874e6f cleanup printf strings and errno handling by vapier · 15 years ago
  73. 3fdf88a cleanup printf strings and errno handling by vapier · 15 years ago
  74. 4599609 cleanup printf strings and errno handling by vapier · 15 years ago
  75. 72d5856 cleanup printf strings and errno handling by vapier · 15 years ago
  76. 8de367c cleanup broken printf strings and errno handling by vapier · 15 years ago
  77. 6659f41 drop pointless local sprintfs by vapier · 15 years ago
  78. 848fcd3 clean up printf strings and errno handling, and punt useless errnochoose() by vapier · 15 years ago
  79. 995d5a3 decode ENAMETOOLONG by vapier · 15 years ago
  80. 0d7102a clean up printf strings and errno handling, and punt useless errnochoose() by vapier · 15 years ago
  81. 8dc646d clean up printf strings and errno handling by vapier · 15 years ago
  82. 6f55017 clean up printf strings and errno handling by vapier · 15 years ago
  83. 910d3ac fix printf string in test result by vapier · 15 years ago
  84. 2be6946 drop useless #ident code by vapier · 15 years ago
  85. 9795ed9 add missing semicolon in waitpid04 testcase by vapier · 15 years ago
  86. bf5dd5c declare TEST_ERRNO as an integer as every spec out there has declared errno as an int by vapier · 15 years ago
  87. f88c09e use a printf modifier to shut up gcc warnings (should make some internal tst_* funcs that take raw va_args so we can drop this EXPAND_VAR_ARGS() hack) by vapier · 15 years ago
  88. 3dc0470 punt unused btime/etime temp variables (not that these belong in global scope in the first place) by vapier · 15 years ago
  89. 922e919 cleanup TEST_* macros to expand with safe do{...}while(0) semantics by vapier · 15 years ago
  90. 6daba92 cleanup code style by vapier · 15 years ago
  91. c6d1b7f convert warning message over to TERRNO by vapier · 15 years ago
  92. e9377db Revert the earlier patch as it generates hell lot of warning for all the tests. by subrata_modak · 15 years ago
  93. 33463f8 File: Autodetect RPM topdir: Query RPM for the location of the RPM topdir, instead of guessing, which failed on YDEL6 (/usr/src/yellowdog) and Debian/Ubuntu (/usr/src/rpm). Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>. by subrata_modak · 15 years ago
  94. 8265619 Fix mail_tests for systems without mail installed: Worse, as $MAIL_NOT_INSTALLED is always "0" or "1", -z always return false...`-z' tests for a string length of zero, not for a zero value, causing the test always to return false. Initialize $MAIL_NOT_INSTALLED to an empty string instead of a numerical zero to fix this. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>. by subrata_modak · 15 years ago
  95. e235bf5 Annotate tst_*() helpers with __attribute__ ((format (printf, M, N))) (was: Re: [PATCH] quotactl01: Fix tst_resm() format causing crash): This bug encouraged me to add annotations to the test helpers that take printf()-style formats, cfr. the patch below. It causes a massive amount of compiler warnings, most of them caused by TEST_ERRNO being long. According to CVS history, both TEST_RETURN and TEST_ERRNO have been changed from int to long to accomodate 64-bit platforms, but to me the change of TEST_ERRNO looks bogus. As errno is int according to C99, TEST_ERRNO should actually be int too, right? Note that there are also a few other cases where integers are used on pointer type format specifiers. These will cause crashes when the code path is executed. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>. by subrata_modak · 15 years ago
  96. f43b380 LTP must be extracted to an accessible location: If extracted to /root and /root has permissions 750, the following tests will fail: by subrata_modak · 15 years ago
  97. 21565a6 Matt Helsley <matthltc@us.ibm.com> reported: Looks like this should be 12. Why not just use the subsystem names both to iterate over and to print out? Then it will be a little clearer what test has[n't] passed. e.g.: by subrata_modak · 15 years ago
  98. 54b357a Spelling fixes: initalization => initialization: Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>. by subrata_modak · 15 years ago
  99. 62c9e05 Spelling fixes: excute => execute: Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>. by subrata_modak · 15 years ago
  100. cea28b0 Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> reported: undefined macro: _m4_divert_diversion: When trying to autoconfigure current LTP on YDL, I get an error: by subrata_modak · 15 years ago