1. 069c67d This is a proposal for 2 new testcases in the pidns testcases. They are related to POSIX message queues and notification on message arrival. Could you please review them? If a process registers for asynchronous notification on a POSIX message queue, it gets a signal and a siginfo_t structure when a message arrives on the message queue. The si_pid in the siginfo_t structure is set to the PID of the process that sent the message. If the process that sent the message is not in the same namespace as the notified one, this should be taken into account. by subrata_modak · 16 years ago
  2. ffa7325 Version 2: The test failed a few hours after I sent this off. I think it was caused by a pid collision which caused the test to use the same queue as an earlier failed test that didn't close out its queue. This version of the test uses O_EXCL to avoid this. And it cleans up the queue on every failure case. This test was racy. It relied on signals interrupting sleeps to do syncronization between processes. It also didn't cleanup the queue on the failure cases and assumed that its queue didn't already exist. This patch fixes these issues. Reported failures: https://bugzilla.novell.com/show_bug.cgi?id=375897. Instead use a syncronization pipe to have the child thread send messages to the parent thread (with reasonable timeouts since this is testing blocking calls). by subrata_modak · 16 years ago
  3. 3bcd89f commands/unzip: check exit code of all comands: 1. don't redirect all output to /dev/null. It's bad idea, because we can't investigate bugs without error messages. 2. check exit code of command "zip". If it failed, we get error during make install that can't found a zip file. Signed-Off-By: Andrew Vagin <avagin@parallels.com>. by subrata_modak · 16 years ago
  4. fcaa817 Mem01 test case sometimes trigger OOM Killer. As the result, the test failed with a non-error code. This patch reduces the chance of OOM Killer by always reserving 16MB memory. It is a trade-off between not testing all available memory and dealing with false failure (extra work to waive the failure in automated environment and clean up unexpected test leftovers). I prefer the formal. Signed-off-by: CAI Qian <caiqian@cclom.cn>. by subrata_modak · 16 years ago
  5. 8f9b2c2 This series of patches fixes failures with mmapstress04, mmapstress07 and mmapstress08 test cases on IA-64, s390x and PPC64 mostly due to assuming page sizes on those architectures are 4K. This patch fixes mmapstress08 test case by limiting this test to run for x86 architecture only due to it makes several assumptions about 4K page size etc, and I don't see the obvious way to make it work for non-x86 architectures. Signed-off-by: CAI Qian <caiqian@cclom.cn>. by subrata_modak · 16 years ago
  6. ab5bcc3 This series of patches fixes failures with mmapstress04, mmapstress07 and mmapstress08 test cases on IA-64, s390x and PPC64 mostly due to assuming page sizes on those architectures are 4K. This patch fixes mmapstress07 test case by obtaining default settings from default page size. It also preserve the possibility to use user-specified arguments. Signed-off-by: CAI Qian <caiqian@cclom.cn>. by subrata_modak · 16 years ago
  7. cd17243 This series of patches fixes failures with mmapstress04, mmapstress07 and mmapstress08 test cases on IA-64, s390x and PPC64 mostly due to assuming page sizes on those architectures are 4K. This patch fixes mmapstress04 test case by obtaining default settings from default page size. It also preserve the possibility to use user-specified arguments. Signed-off-by: CAI Qian <caiqian@cclom.cn>. by subrata_modak · 16 years ago
  8. 8deebd4 This series of patches fixes failures with mmapstress04, mmapstress07 and mmapstress08 test cases on IA-64, s390x and PPC64 mostly due to assuming page sizes on those architectures are 4K. This patch fixes mm testing list by removing hard-coded (4K alignment) arguments. Signed-off-by: CAI Qian <caiqian@cclom.cn>. by subrata_modak · 16 years ago
  9. ed693f5 Fixed typo when not defining SPEW_SIGNALS in my_yield(). Signed-Off-By: nobuhiro <nobuhiro@andestech.com>. by subrata_modak · 16 years ago
  10. 001b335 The following patches fixes a useless error log and possible segmentation fault with fclose[1], a failure to report client and server failures[2], and missing data file installation[3]. Signed-off-by: CAI Qian <caiqian@cclom.cn>. by subrata_modak · 16 years ago
  11. 47745f6 Veerendra <veeren@linux.vnet.ibm.com> reported: In the latest LTP release ( LTP-full-20081130) the make is failing for Power machines for the 'utimensat' tests. by subrata_modak · 16 years ago
  12. 856b1b2 I report a bug of the msgctl02 testcase and a patch for it. When you set /proc/sys/kernel/msgmnb to a value larger than 65536, msgctl02 always results FAIL because of a bug itself. An example when /proc/sys/kernel/msgmnb == 4194304, by subrata_modak · 16 years ago
  13. 7ce3c15 This patch fixes compilation errors on RHEL5 introduced by addition of the bounds test to default test list. Signed-off-by: Ramon de Carvalho Valle <rcvalle@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  14. 4feae2d Here is a new patch to be applied on the November Release (ltp-full-20081130.tgz). It fixes and improves build/install scripts in the Sun-RPC/TI RPC test suite. It takes care also about some portmap/rpcbind conflicts in the tests scripts. Signed-Off-By: Le Rouzic <aime.le-rouzic@bull.net>. by subrata_modak · 16 years ago
  15. fe1f82b The following patch removes a known failure that has been fixed in RHEL 5.3 and the fix also sent upstream, as well as adds missing copyright information. Signed-off-by: CAI Qian <caiqian@cclom.cn>. by subrata_modak · 16 years ago
  16. 9952c86 The aiodio_sparse (and dio_sparse) tests use mmaped region of memory backed by a file, and populate the pages by writing to them. This can fail, eg. when Linux overcommits memory and the newly created pages do not fit; it results in the file not being properly deleted. This patch fixes that by trapping signals in these test (I used the standard libltp functions for that) and deleting the file in a cleanup function. Sorry that the patch may be little unclean - it was hand-edited. I will do something about that if it matters. Signed-Off-By: Jiří Paleček <jpalecek@web.de>. by subrata_modak · 16 years ago
  17. ea37be8 These patches enable AIO and listio in tlibio.c for linux, mostly by reusing code that is already in tlibio.c, and makes non-blocking read()/write() actually work. Also, they change pipeio.c to use this. Comments: by subrata_modak · 16 years ago
  18. cfc246a The following patch fixes two problems in loop variables of gtod_latency test case: by subrata_modak · 16 years ago
  19. 7c77ea4 This test case requires write permission for the dummy program. It would fail for those who put LTP on an read-only environment. So this patch copies the dummy test program to and performs the test in a private directory. p.s. this patch copy the one Renaud Lottiaux sent for execve02.c. Signed-Off-By: Roy Lee <roylee17@gmail.com>. by subrata_modak · 16 years ago
  20. ba205d2 sbrk has arguments of type intptr_t, which is long in on x86_64. There is following line in mmapstress03: by subrata_modak · 16 years ago
  21. aba85b9 I've added small help target to Makefile & INSTALL talking about the new configuration setups. Signed-off-by: Masatake YAMATO <yamato@redhat.com>. by subrata_modak · 16 years ago
  22. 9a9a569 add _GNU_SOURCE for strsignal in spawn_ptrace_child.h by vapier · 16 years ago
  23. df85b22 Fix for failure in syscalls/stat04_64 and syscalls/lstat01A_64 testcases, by, Dmitry Guryanov <dguryanov@parallels.com>. by subrata_modak · 16 years ago
  24. 58352ae fix from Jiri Palecek: Fix syntax errors (and bashisms) in some shell files by vapier · 16 years ago
  25. f181dac Changes for NOVEMBER 2008. by subrata_modak · 16 years ago
  26. ffdb81c ltp iptables testcase failed: Manas Kumar Nayak <maknayak@in.ibm.com> reported: While executing iptables testcases from ltp ,it failed to list iptables chain rules. iptables test case gets failed with following errors: by subrata_modak · 16 years ago
  27. e75e9ee Remove libjvmsim: This patch removes the libjvmsim itself. Hence no testcase can use it anymore. Signed-Off-By: Chirag <chirag@linux.vnet.ibm.com>, Acked-By: Sripathi Kodi <sripathik@in.ibm.com>. by subrata_modak · 16 years ago
  28. 4ce8327 Remove references of jvmsim from the tests: Most of the testcases, have an option (-j) which runs the jvmsim as a background load so as to simulate the behavior of the JVM.This patch removes the references of jvmsim from all the testcases. Signed-Off-By: Chirag <chirag@linux.vnet.ibm.com>, Acked-by: Sripathi Kodi <sripathik@in.ibm.com>. by subrata_modak · 16 years ago
  29. c85e0e5 Fix typo in pselect01_64 testcase: pselect0_64->pselect01_64. Signed-Off-By: Dmitry Guryanov <dguryanov@parallels.com>. by subrata_modak · 16 years ago
  30. 88af335 Please find the testcase for the below assertion. by subrata_modak · 16 years ago
  31. 7c7aeb5 Re-enablement of TI-RPC tests to build/install/run in LTP: by subrata_modak · 16 years ago
  32. fb2d67b CONTROLLERS: modify script to run def task for test 10: This patch modifies the script to run the default task for test 10. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  33. 7795025 CONTROLLERS: modify script to run def task for test 9: This patch modifies the script to run the default task for test 9. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  34. d638ebd CONTROLLERS: add binary to run def task for test 9,10: This patch adds a binary which will be running as a default task for testcases 9 and 10 to create an ideal scenario. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  35. 402fe7b CONTROLLERS: change share values for the group: This patch changes the shares values for the groups in test num 9 to some practical values. (instead of 2,3,4,5...100,200,300,400.... ). Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  36. 7d35794 CONTROLLERS: modify the script to run def task for test 6,7,8: This patch modifiesadds a binary which will be running as a default task for testcases 6, 7 and 8 to create an ideal scenario. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  37. ca368e3 CONTROLLERS: add binary to run def task for test 6,7,8: This patch adds a binary which will be running as a default task for testcases 6, 7 and 8 to create an ideal scenario. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  38. b5caeb7 CONTROLLERS: modify the script to run def task for test 5: This patch modifies the script to run the default task for test 5. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  39. 647ec97 CONTROLLERS: modify the script to run def task for test 4: This patch modifies the script to run the default task for test 4. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  40. 5bb280e CONTROLLERS: binary for def task for test 4 & 5: This patch adds a binary which will be running as a default task for testcases 4 and 5 to create an ideal scenario. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  41. f600923 CONTROLLERS: modify def task binary for test 3: The patch modifies the default task binary to be run for test num 3 also. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  42. bd1f580 CONTROLLERS: pass the argument to the function: The function scan_shares_files() modifies a global variable, which in the current way was confusing, so passing the variable as argument. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  43. c50bfa6 CONTROLLERS: Modify test to reflect kernel MAX_SHARES limit: The tests takes too long if we keep the time interval 60 seconds. Hence changing to 30 seconds. Also the kernel has now the max linit on shares values (1UL <<18). So taking readings upto 7th set will reach the max limit very soon(specialy on high end machines). Therefore we keep the multiplier to multiply at max 4 times. Hence we will reach till GROUP_NUM * 10^4. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  44. 9073840 CONTROLLERS: modify script to run default task for test 1-2: This patch adds the code to trigger the default task for the tests 1-3. Also the code is added to clean this default task setup. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  45. 71014ad CONTROLLERS: binary to be run as a default task for test 1-2: This patch adds a binary which will be running as a default task for testcases 1 to create an ideal scenario. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  46. f50cdc3 CONTROLLERS: set up for default group creation: This patch adds the code to do the setup for a default group which will be spinning a task to create an ideal scenario for group fairness. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  47. d1174be CONTROLLERS: rename the setup function: In case the file defining functions fails to load, the function setup() will run the setup utility, so changing it to do_setup(). Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  48. 2557afd CONTROLLERS: do not redirect errors to /dev/null: Its no good to redirect the error messages from the binaries to /dev/null. One might not know what is the failure or what went wrong. This patch omits that redirection. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  49. 37aed20 CONTROLLERS: replace numbers by FILENAME_MAX: 32 bytes are really unsufficient for hoding dir names, changing it to FILENAME_MAX. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  50. be2f1a5 I've added new Makefile target to run both autoconf and autoheader. Signed-off-by: Masatake YAMATO <yamato@redhat.com>. by subrata_modak · 16 years ago
  51. 94b2d00 Fix busy loop in realtime: by subrata_modak · 16 years ago
  52. e17a8f1 umount can return error if /etc/mtab link to /proc/mounts by subrata_modak · 16 years ago
  53. 5ecdeca The file testcases/kernel/include/stub-list was recently removed. It contained the list of syscall numbers which, if not present in the kernel headers or in one of the architecture-specific lists, should be defined as 0 (a stub value). Now, this list is automatically generated as union of the architecture-specific lists. However, some syscalls only appeared in stub-list, which means they are not stubbed now, so architectures lacking them will probably fail to build (alpha...). To overcome this, I have added these syscalls to the i386 list, which means they will be defined whenever they are defined in the kernel sources, on i386, and stubbed otherwise. See the attached patch. BTW, the list of syscalls is not exhaustive. In the attachment filtered-syscalls, there is a list of syscalls which appear as __IGNORE_syscall-nr in the kernel sources (which means they are missing on some architecture), but are not used in ltp or their use is guarded by an #ifdef. They would have to be added too, if some test explicitely mentions them (eg. getresgid16). Signed-off-by: Jiri Palecek <jpalecek@web.de>. by subrata_modak · 16 years ago
  54. 385806c Here is a patch to fix the error below. by subrata_modak · 16 years ago
  55. 39c8f45 The test case gtod_latency in realtime causes soft lockups on some machines. This is because the test hogs the cpus for a long time, because it's main loop runs at SCHED_FIFO, 99. We have seen soft lockups mainly on LS20 machines (x86_64, Opterons). The following patch introduces a sleep after some iterations of the test. This ensures that the test doesn't hog the cpu completely and hence avoids soft lockups. by subrata_modak · 16 years ago
  56. b1cc741 OK. I have implemented such a patch which does not overflow anymore. However, I could not test it, because: by subrata_modak · 16 years ago
  57. c7528c8 This patch adds librt debug support for prio-wake. The log level selected is 0, as it necessary to print all the buffered information. Tested: by subrata_modak · 16 years ago
  58. b716705 This patch ensures that prio-preempt uses the librt debug mechanism. Tested: Running the test: by subrata_modak · 16 years ago
  59. 138ce8c Add Kernel Config Info for compiling KDUMP/KEXEC kernel. Signed-Off-By: Subrata Modak <subrata@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  60. c6f74be Update to OpenHPI 2.13.1. See http://openhpi.org/ for more details. by subrata_modak · 16 years ago
  61. e94ba55 - Type definitions defined in header files included from sys/signalfd.h and type definitions defined in sys/signalfd.h are conflicted. by subrata_modak · 16 years ago
  62. f647cb4 A small Fix. Signed-off-by: Masatake YAMATO<yamato@redhat.com>. by subrata_modak · 16 years ago
  63. cc83131 I guess you want ">/dev/null 2>&1" to eliminate both STDERR and STDOUT. Attaching a small patch with the above change. Please accept. Signed-Off-By: Nageswara R Sastry <rnsastry@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  64. cb1d6ce Initial Porting of accept4() syscall test to LTP by Subrata Modak <subrata@linux.vnet.ibm.com>. Originally written by Michael Kerrisk <mtk.manpages@gmail.com>. Later modified to suite compilation on different systems by Jiri Palecek <jpalecek@web.de>, who wrote the following: by subrata_modak · 16 years ago
  65. 8b828a2 Risrajak <risrajak@linux.vnet.ibm.com> reported: by subrata_modak · 16 years ago
  66. 9855946 Change "Buffer size is not positive" testcase readlink03 to use 0 as non-positive buffer size, instead of -1. To avoid a fortify-check-fail when using glibc and _FORTIFY_SOURCE=2. See discussion: http://lkml.org/lkml/2008/10/23/229. Signed-off-by: Daniel Gollub <dgollub@suse.de>. by subrata_modak · 16 years ago
  67. f08488f [Bug # 2305878] fcntl17: fix short pid problem. Process ids (pids) are not necessary in "short" range, they might be larger (and are in SLES 10 e.g.). Signed_off-By: Marcus Meissner <marcusmeissner@users.sourceforge.net>. by subrata_modak · 16 years ago
  68. 8534d9e Please accept the patch for running the pidns tests for the containers. Also modified, to run all the testcases even when other testcase's fails. This patch contains the patches to run new tests pidns05 and pidns06. Also this patch will run all the pidns tests. And return back the exit code of the test, which failed first. Signed-off-by: Veerendra C <vechandr@in.ibm.com>. Acked-by: Serge Hallyn <serue@us.ibm.com>. by subrata_modak · 16 years ago
  69. ae5eb2c I've introduced autoconf to modify_ldt test cases. The modification is very similar to the modification to signalfd. Signed-off-by: Masatake YAMATO<yamato@redhat.com>. by subrata_modak · 16 years ago
  70. 0e71fbc require autoconf-2.61+ by vapier · 16 years ago
  71. 2ba926e only define signalfd() when it actually gets used -- i.e. when !USE_STUB by vapier · 16 years ago
  72. 4ce69a5 This test case requires write permission for the dummy program. It would fail for those who put LTP on an read-only environment. So this patch copies the dummy test program to and performs the test in a private directory. p.s. this patch copy the one Renaud Lottiaux sent for execve02.c. Signed-Off-By: Roy Lee <roylee17@gmail.com>. by subrata_modak · 16 years ago
  73. 6bc7da7 hugemmap02 "Segmentation fault" fix: by subrata_modak · 16 years ago
  74. eaa52dc Add ltp/runtest/commands file to ltp/runltp. Signed-Off-By: Subrata Modak <subrata@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  75. 3b77b49 Integrate size01 tests to runtest/commands file. Signed-Off-By: Subrata Modak <subrata@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  76. 243994d Integrate fileutils tests to runtest/commands file. Signed-Off-By: Subrata Modak <subrata@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  77. 3ece879 Integrate gzip tests to runtest/commands file. Signed-Off-By: Subrata Modak <subrata@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  78. 89aaf8c Integrate tpm_tools into runalltests.sh. Signed-Off-By: Subrata Modak <subrata@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  79. e6efbc0 Integrate unzip tests to runtest/commands file. Signed-Off-By: Subrata Modak <subrata@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
  80. 223bd91 add some compiled objects to the ignore list by vapier · 16 years ago
  81. fe018f0 make autotools optional and start a sane config.h by default by vapier · 16 years ago
  82. 1862b4a use AC_CHECK_HEADERS_ONCE() by vapier · 16 years ago
  83. 0c98cab fill out AC_INIT() by vapier · 16 years ago
  84. 48c51ee use a macroname that isnt crazy long by vapier · 16 years ago
  85. 0dca7e5 cleanup style with Lindent by vapier · 16 years ago
  86. 8c28dd5 generate stub list on the fly based on *.in files by vapier · 16 years ago
  87. 7ded5be only create symlink if it doesnt exist already by vapier · 16 years ago
  88. 1d76c75 make syscall() wrapper a bit more readable by vapier · 16 years ago
  89. 89ba119 regen linux_syscall_numbers.h whenever regen.sh changes by vapier · 16 years ago
  90. 2adf02e Quick and dirty fix to overflow in pipeio when computing the number of writes: the computation of the number of writes in pipeio can overflow, eg. if you want to run more than 4 GB through the pipe. The attached patch fixes that. Signed-off-by: Jiri Palecek <jpalecek@web.de>. by subrata_modak · 16 years ago
  91. a6d91a2 Use the SO_REUSEADDR option in sctp tests to prevent bind error shortly after another test ended: I've noticed a bunch of errors in the SCTP tests, all of them being for the same reason, "bind: address already in use". I tried using the SO_REUSEADDR option on the socket, as if it was TCP, and it helped. However, I know almost nothing about SCTP, and don't know whether the same situation (applications binding to the same port quickly one after another) has the same problems and solution, or if it is just a kernel bug/misconfiguration/whatever else. Signed-off-by: Jiri Palecek <jpalecek@web.de>. by subrata_modak · 16 years ago
  92. 3d8666c I've clean my signalfd test case up with autoconf. After applying the patch, do at ltp/ by subrata_modak · 16 years ago
  93. 6882569 Call cleanup() at the right places to prevent fallocate tests leaving files in the temporary directory. Signed-off-by: Jiri Palecek <jpalecek@web.de>. by subrata_modak · 16 years ago
  94. 814e03c Prevent leaving files in the temporary directory by calling tst_rmdir, or cleanup, where appropriate. Signed-off-by: Jiri Palecek <jpalecek@web.de>. by subrata_modak · 16 years ago
  95. 3221898 Do not call tst_brkm from the cleanup function in some tests: It is bad for the cleanup function to abort by calling tst_brkm, because in that case, further cleanup will not be performed. This patch fixes it in some chmod*, chown*, fchmod* and fchown* tests by substituting tst_resm for tst_brkm. Signed-off-by: Jiri Palecek <jpalecek@web.de>. by subrata_modak · 16 years ago
  96. d3ee1fa Don't break chown tests on non-catastrophic failures. Signed-off-by: Jiri Palecek <jpalecek@web.de>. by subrata_modak · 16 years ago
  97. 11fbfdd This patch fixes the error, that code exhausting the file descriptor table in execve04 test actually doesn't exhaust the fd table at all. Signed-off-by: Jiri Palecek <jpalecek@web.de>. by subrata_modak · 16 years ago
  98. 635f2a4 Fix success detection in execve04 test: by subrata_modak · 16 years ago
  99. 24fc213 when building Debian ltp package on alpha, the package failed to build, because alpha lacks some of the syscalls (the xxx_16 ones). See: by subrata_modak · 16 years ago
  100. e312d9e Hello, these are some little fixes I've created for ltp. They are typos, fixes for compiler warning, bashisms in the makefiles etc. Signed-off-by: Jiri Palecek <jpalecek@web.de>. by subrata_modak · 16 years ago