» tagged pages
» logout

(Feed found, click Add Page to syndicate.) Error finding feed, please try again » Find feed title

A Blog Page allows you to add entries, for news or other time sensitive postings

(Login required to save to your tagged pages.)
(or Cancel)

Make further edits, (or Cancel)

(Login required to save to your tagged pages.)
(or Cancel)

(Editing anonymously: to be credited for your changes, login or register a new account)

Change Page Permissions? Changing these permissions will adjust who can modify this page.

Anonymous (change)
Swik Users (change)
(or Cancel)
Upload an image from your computer:
or Copy an image from a URL:
or Erase the current icon:
Icon Preview:

or Cancel

Erase gcov? The contents of gcov page and all pages directly attached to gcov will be erased.

or Cancel

(Editing anonymously: to be credited for your changes, login or register a new account)

other page actions:
gcov

gcov

Tags Applied to gcov

No one has tagged this page.

Tag Cloud

To further filter what appears in the Things Tagged gcov list, select a tag from the Tag Cloud.

Using and Porting the GNU Compiler Collection (GCC): Gcov.

gcc.gnu.org

sorted by: recent | see : popular
Content Tagged gcov

The Linux Test Project SEPTEMBER 2008 Release Announcement

1) Log Message:
Fix build error for libclone.c. Signed-off-by: Veerendra Chandrappa <vechandr@in.ibm.com>.

Modified File(s):
ltp/testcases/kernel/containers/libclone/libclone.h

2) Log Message:
Set executable flag for netpipe.sh without chmod.sh which just performs an santiy check if the user is root to run chmod 755, which doesn't require root priviliges. Signed-off-by: Daniel Gollub <dgollub@suse.de>.

Modified File(s):
ltp/tools/netpipe-2.4/Makefile

3) Log Messsage:
sync_pipe_close() returns an uninitialized value when it is passed an already closed pipe. Signed-off-by: Roy Lee <roylee17@gmail.com>.

Modified File(s):
ltp/lib/libtestsuite.c

4) Log Message:
I extended getegid testcase to test getegid16, too. Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

Modified File(s):
ltp/runtest/syscalls
ltp/testcases/kernel/syscalls/getegid/Makefile
ltp/testcases/kernel/syscalls/getegid/getegid01.c

5) Log Message:
This can only be tested on a POWER6 machine. A program to test it is attached. --Paul Mackerras.
Thanks for sharing the test case with LTP. I have ported it to bare minimum LTP requirement and ran it on various architectures and kernel versions to test out the behaviour of the test on these machines. Yamato, When you find time, kindly add more specific stuff that we have specially for the LTP syscall tests, things like running in a loop, running concurrently, etc. And here goes the Patch. Paul, you can propose more modification to this if you wish to:
Signed-off-by: Paul Mackerras <paulus@samba.org>,
Signed-off-by: Subrata Modak <subrata@linux.vnet.ibm.com>.

Modified Files:
ltp/runtest/syscalls

Added Files:
ltp/testcases/kernel/syscalls/switch/Makefile
ltp/testcases/kernel/syscalls/switch/switch01.c

6) Log Message:
I have seen that in some of my systems, utimensat fails to build because of some definitions missing in system headers. Do, you think we can apply the following patch: Signed-Off-By: Subrata Modak <subrata@linux.vnet.ibm.com>.

Modified File(s):
ltp/testcases/kernel/syscalls/utimensat/utimensat01.c

7) Log Message:
Looks OK as far as I can see, except that I wonder why you check for being root: since there is no restriction by the kernel on which processes can use this system call. A process can't do anything to any other process using this system call, so there's no reason to restrict it. Also you might like to call it "endian_switch()" rather than just "switch()". Paul Mackerras <paulus@samba.org>.

Modified File(s):
ltp/testcases/kernel/syscalls/switch/switch01.c

8) Log Message:
The following two scripts cannot execute correctly on my box, which doesn’t equip gawk but awk (busybox). This patch makes them, as well as other scripts( see the patch), to not explicitly using gawk but awk. roylee@andestech.com.

Modified File(s):
ltp/testcases/commands/cron/cron_allow01
ltp/testcases/commands/cron/cron_deny01
ltp/testcases/commands/cron/cron_neg_tests.sh
ltp/testcases/kernel/ipc/ipc_stress/cleanup
ltp/testcases/kernel/ipc/ipc_stress/run_semaphore_test_01.sh
ltp/testcases/open_hpi_testsuite/clients/hpionIBMblade.c

9) Log Message:
This patch does the following:
1. These test cases failed with "open returned unexpected errno 2" because the child process falls through to execute redundant cleanup(),
2. Added code to use the tst_tmpdir()/tst_rmdir() APIs.
Signed-Off-By: <roylee@andestech.com>

Modified File(s):
ltp/testcases/kernel/syscalls/setfsuid/setfsuid04.c
ltp/testcases/kernel/syscalls/setresuid/setresuid04.c
ltp/testcases/kernel/syscalls/setreuid/setreuid07.c

10) Log Message:
Remove redundant bits from the container test script. Keep the nicer/self-consistent info. Add proper dependencies on check_for_unshare rather than shoehorning it in as a MAKE command in *only* the 'all' target. Signed-off-by: Matt Helsley <matthltc@us.ibm.com>, Acked-by: Serge Hallyn <serue@us.ibm.com>,

Modified File(s):
ltp/testcases/kernel/containers/Makefile
ltp/testcases/kernel/containers/container_test.sh

11) Log Message:
Make these rules a tiny bit more generic using the automatic $@ variable. This means anyone copying this line is less likely to make copy/paste errors. Signed-off-by: Matt Helsley <matthltc@us.ibm.com>, Acked-By: Serge Hallyn <serue@us.ibm.com>.

Modified File(s):
ltp/testcases/kernel/containers/Makefile

12) Log Message:
When it comes to this program, why should we care what the arch is? Shouldn't the SYS_ and __NR numbers alone tell us if unshare() is relevant here? Also, suppose both SYS_unshare and __NR_unshare aren't defined and we're running on an i386 box. This means we'll trigger the block:
#elif __i386__
int do_check(void) { return kernel_is_too_old(); }
Which is totally wrong. Fix these up by ignoring the arch and boiling it all down to a corrected check for the proper define(s). See sys/syscall.h for details on SYS_ vs. __NR_. Signed-off-by: Matt Helsley <matthltc@us.ibm.com>, Acked-by: Serge Hallyn <serue@us.ibm.com>,

Modified File(s):
ltp/testcases/kernel/containers/check_for_unshare.c

13) Log Message:
Now that we have proper dependencies on check_for_unshare we take explicit tests for unshare out of the top-level make file and distribute to each subdir Makefile as ifeq...endif sections which control which targets to build. While it doesn't avoid descending into subdirs it's easier to read and check the make code when most of the build rules don't have shell flow control. Even better if we could change the contents of SUBDIRS based on the results of running check_for_unshare. Also note the use of := and not =. info Make is our friend. Signed-off-by: Matt Helsley <matthltc@us.ibm.com>, Acked-by: Serge Hallyn <serue@us.ibm.com>,

Modified File(s):
ltp/testcases/kernel/containers/Makefile
ltp/testcases/kernel/containers/libclone/Makefile
ltp/testcases/kernel/containers/pidns/Makefile
ltp/testcases/kernel/containers/sysvipc/Makefile
ltp/testcases/kernel/containers/utsname/Makefile

14) Log Message:
Now that they are in it's best to drop the noltp junk leftover from the LTP port of the container tests. Signed-off-by: Matt Helsley <matthltc@us.ibm.com>, Acked-by: Serge Hallyn <serue@us.ibm.com>.

Modified File(s):
ltp/testcases/kernel/containers/Makefile
ltp/testcases/kernel/containers/libclone/Makefile
ltp/testcases/kernel/containers/pidns/Makefile
ltp/testcases/kernel/containers/pidns/pidns01.c
ltp/testcases/kernel/containers/pidns/pidns02.c
ltp/testcases/kernel/containers/pidns/pidns03.c
ltp/testcases/kernel/containers/sysvipc/Makefile
ltp/testcases/kernel/containers/sysvipc/shmnstest.c
ltp/testcases/kernel/containers/utsname/Makefile
ltp/testcases/kernel/containers/utsname/utstest.c

15) Log Message:
Use non-recursive assignment. This means, for example, that:
SRCS := $(wildcard *.c)
will call the wildcard function, substitute the output, and assign it to SRCS. Recursive assignment (plain =) would use the output and continue performing substitutions until no further substitutions could be made. Signed-off-by: Matt Helsley <matthltc@us.ibm.com>, Acked-by: Serge Hallyn <serue@us.ibm.com>.

Modified File(s):
ltp/testcases/kernel/containers/Makefile
ltp/testcases/kernel/containers/libclone/Makefile
ltp/testcases/kernel/containers/pidns/Makefile
ltp/testcases/kernel/containers/sysvipc/Makefile
ltp/testcases/kernel/containers/utsname/Makefile

16) Log Message:
The operator for string unequivalent check is not '-ne' but '!='. Signed-off-by: Mitsuru Chinen <mitch@linux.vnet.ibm.com>.

Modified File(s):
ltp/testcases/network/ipv6/finger6/finger601

17) Log Message:
The state of finger service is not got correctly as an option for netstat is lacked. Signed-off-by: Mitsuru Chinen <mitch@linux.vnet.ibm.com>.

Modified File(s):
ltp/testcases/network/ipv6/finger6/finger601

18) Log Message:
Although ping6 doesn't have -R option, it is specified. It should be removed. Signed-off-by: Mitsuru Chinen <mitch@linux.vnet.ibm.com>.

Modified File(s):
ltp/testcases/network/ipv6/ping6/ping601

19) Log Message:
Fix the build error for some systax error. Also fix some warnings. Signed-off-by: Jin Bing Guo <guojb@cn.ibm.com>.

Modified File(s):
ltp/testcases/kernel/syscalls/switch/switch01.c

20) Log Message:
Part of these tests are pretty much enough to invoke an oom-killer. Let the test do the functional testing part, and, we can do stress testing with hackbench seperately. Si
gned-Off-By: Subrata Modak <subrata@linux.vnet.ibm.com>.

Modified File(s):
ltp/runtest/sched

21) Log Message:
Fix memory leak in time-schedule.

Modified File(s):
ltp/testcases/kernel/sched/tool/time-schedule.c

22) Log Message:
Fix memory leak in trace_sched.

Modified File(s):
ltp/testcases/kernel/sched/tool/trace_sched.c

23) Log Message:
Fix memory leak in message_queue_test_01.

Modified File(s):
ltp/testcases/kernel/ipc/ipc_stress/message_queue_test_01.c

24) Log Message:
Fix memory leak in semaphore_test_02.

Modified File(s):
ltp/testcases/kernel/ipc/ipc_stress/semaphore_test_02.c

25) Log Message:
I worked on 2 test cases for foogid16 system calls; and I will do 5 more. All these test cases have the same macro. So I'd like to introduce compat_gid.h; and put the macro to the file. Could you add compat_gid.h to testcases/kernel/syscalls/utils/ and apply patches for existing test cases? Here after I'd like to use the compat_gid.h in newly ported test cases. Signed-off-by: Masatake YAMATO <yamato@redhat.com>,

Modified Files:
ltp/testcases/kernel/syscalls/setgid/Makefile
ltp/testcases/kernel/syscalls/setgid/compat_16.h
ltp/testcases/kernel/syscalls/setgid/setgid02.c
ltp/testcases/kernel/syscalls/setgid/setgid03.c
ltp/testcases/kernel/syscalls/setgroups/Makefile
ltp/testcases/kernel/syscalls/setgroups/compat_16.h
ltp/testcases/kernel/syscalls/setgroups/setgroups02.c
ltp/testcases/kernel/syscalls/setgroups/setgroups03.c

Added Files:
ltp/testcases/kernel/syscalls/utils/compat_gid.h

26) Log Message:
Add $(CFLAGS). From: Roy Lee <roylee17@gmail.com>.

Modified File(s):
ltp/testcases/kernel/containers/Makefile

27) Log Message:
Paul <paulus@samba.org> wanted the name to be endian_switch. Michael Kerrisk <mtk.manpages@googlemail.com> seconded his suggestion.

Modified File(s):
ltp/testcases/kernel/syscalls/switch/switch01.c

28) Log Message:
Don't warn that TCID, TST_TOTAL and TST_COUNT is not set when using tst_kvercmp. And. Check /proc/net/connector to see if process event connector is supported or not. Also merged some cleanups done by Matt Helsley. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>.

Modified File(s):
ltp/runltp
ltp/testcases/kernel/Makefile
ltp/testcases/kernel/connectors/Makefile
ltp/testcases/kernel/connectors/connector_test.sh
ltp/testcases/kernel/connectors/pec/run_pec_test
ltp/tools/apicmds/ltpapicmd.c

29) Log Message:
Fix memory leak in semaphore_test_03.

Modified File(s):
ltp/testcases/kernel/ipc/ipc_stress/semaphore_test_03.c

30) Log Message:
I think TST_NEWER_64_SYSCALL is better than TST_NEWER_64 because newer_64.mk is local to testcases/kernel/syscalls. This rule is applicable to compat_16.mk. Signed-off-by: Roy Lee <roylee17@gmail.com>. Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

Modified File(s):
ltp/testcases/kernel/syscalls/utils/compat_16.mk
ltp/testcases/kernel/syscalls/utils/newer_64.mk

31) Log Message:
Addition of signalfd() syscall test case(s) to LTP. Signed-Off-By: Masatake YAMATO <yamato@redhat.com>.

Added Files:
ltp/testcases/kernel/syscalls/signalfd/Makefile
ltp/testcases/kernel/syscalls/signalfd/signalfd01.c
ltp/testcases/kernel/syscalls/utils/cond.mk

32) Log Message:
This patch removes outdated (or irrelevant) parts of the existing documentation and updates its. Also incorporated are suggestions made by Darren. Signed-Off-By: Chirag <chirag@linux.vnet.ibm.com>.

Modified File(s):
ltp/testcases/realtime/README
ltp/testcases/realtime/doc/HOWTO_ADD_TESTS

33) Log Message:
This patch fixes a few minor issues in run.sh
1. Adds list option to the usage() command.
2. Remove java from "all" tests to be run.
3. It fix the output of usage (./run.sh or ./run.sh -h)

Tested: Running "./run.sh -t func", "./run.sh -t all" , "./run.sh", "./run.sh -h". Signed-Off-By: Chirag <chirag@linux.vnet.ibm.com>

Modified File(s):
ltp/testcases/realtime/config.mk
ltp/testcases/realtime/run.sh

34) Log Message:
This patch ensures that the python scripts support utf encoding. Prior to the patch, the python scripts would exit with this error:
File "parse-testpi1.py", line 3
SyntaxError: Non-ASCII character '\xc2' in file parse-testpi1.py on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
This patch fixes it. Tested: Running all the python scripts. Signed-Off-By:Chirag <chirag@linux.vnet.ibm.com>.

Modified File(s):
ltp/testcases/realtime/func/pi-tests/parse-testpi1.py
ltp/testcases/realtime/func/pi-tests/parse-testpi2.py
ltp/testcases/realtime/func/sched_football/parse-football.py
ltp/testcases/realtime/scripts/parser.py

35) Log Message:
This patch fixes the getcpu patch for parisc (and probably other platforms as well). The check for "__GLIBC__ >= 2 && __GLIBC_MINOR__ >= 6" is wrong. It breaks as soon as a glibc 3.0 would be published. Replace it with __GLIBC_PREREQ(2,6). Tested on parisc and i386. Signed-off-by: Helge Deller <deller@gmx.de>.

Modified File(s):
ltp/testcases/kernel/syscalls/getcpu/getcpu01.c

36) Log Message:
Garrett, thank you for input. I think my patch works as you wrote. My patch tries sys/signalfd.h then linux/signalfd.h. So I can say my patch tries "whatever's the newest standard"(glibc header file) then "deprecated version"(no glibc header but kernel header file). It is important point. Thank you. CROSS_CFLAGS should be considered when checking the existance of header file. I update the last patch. It does
1. If sys/signalfd.h is not available, use syscall to invoke signalfd.
2. CFLAGS is considered when checking the existance of signalfd.h.
3. Checking the existance of signalfd.h in addition to checking sys/signalfd.h and linux/signalfd.h.
Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

Modified File(s):
ltp/testcases/kernel/syscalls/signalfd/Makefile
ltp/testcases/kernel/syscalls/signalfd/signalfd01.c
ltp/testcases/kernel/syscalls/utils/cond.mk

37) Log Message:
When I built and installed the latest LTP cases, some errors broke the install process. And the system didn't support "unshare". The patches modified these files. Signed-off-by: Jin Bing Guo <guojb@cn.ibm.com>. Based on a cursory glance and memory of Matt's patches, this looks good. "Serge E. Hallyn" <serue@us.ibm.com>.

Modified File(s):
ltp/testcases/kernel/containers/pidns/Makefile
ltp/testcases/kernel/containers/sysvipc/Makefile
ltp/testcases/kernel/containers/utsname/Makefile

38) Log Message:
I got this failure because of the typo in the testcase.
# ./hugemmap01 -H/huge
hugemmap01 1 FAIL : open() on /huge/1602mmapfile Failed, errno=2 : No such file or directory

This failure needs to be /huge directory present inside the / directory. I don't think mkdir /huge is a good idea so i modified as : Signed-off By: Rishikesh K Rajak <risrajak@in.ibm.com>.

Modified File(s):
ltp/runtest/hugetlb

39) Log Message:
Here is some small correction in memory map stress testcases. Result before
applying patch:

# ./mmapstress01 -h
./mmapstress01: invalid option -- h
usage: ./mmapstress01 -p nprocs [-t minutes -f filesize -S sparseoffset -r -o -m -l -d]
mmapstress01 1 FAIL : Test failed

Result after applying patch:

# ./mmapstress01 -h
./mmapstress01: invalid option -- h
usage: ./mmapstress01 -p nprocs [-t minutes -f filesize -S sparseoffset -r -o -m -l -d]

Signed-off By: Rishikesh K Rajak <risrajak@in.ibm.com>

Modified File(s):
ltp/testcases/kernel/mem/mmapstress/mmapstress01.c

40) Log Message:
The Makefile in the mqueues- and semaphores directory of the open_posix_testsuite try incorrectly to overwrite the compiler and have no clue about the fact that there could be a cross compilation scenario, so it tries to search libs in /usr/lib. This results in the following command line:

make[2]: Entering directory `<somewhere>/ltp-full-20080831/testcases/open_posix_testsuite/stress/mqueues'
gcc -Wall -O2 -g -I -L/usr/lib -lpthread -I../../include multi_send_rev_1.c -o multi_send_rev_1.test -lmqueue

which is obviously wrong for cross compilation. With this change the right compiler and the right libs from the toolchain are being used. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>.

Modified File(s):
ltp/testcases/open_posix_testsuite/stress/mqueues/Makefile
ltp/testcases/open_posix_testsuite/stress/semaphores/Makefile


41) Log Message:
The Makefile in the mqueues directory of the open_posix_testsuite wants to link the mq_open testcase against libmqueue. POSIX.1-2001 states:
"Link with -lrt".
So this is definitely wrong, and we do what the standard recommends. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>.

Modified File(s):
ltp/testcases/open_posix_testsuite/stress/mqueues/Makefile

42) Log Message:
The semaphores tests of the open_posix_testsuite want to link again libposix1b, but I don't have any idea why it tries to do so. However, it results in:

gcc -Wall -O2 -g -I -L/usr/lib -I../../include multi_con_pro.c -o multi_con_pro.test -lposix1b -lpthread
/usr/bin/ld: cannot find -lposix1b

This patch removes the bogus library. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>.

Modified File(s):
ltp/testcases/open_posix_testsuite/stress/semaphores/Makefile

43) Log Message:
To make POSIX namespace clear, glibc-2.8 requires people to define _GNU_SOURCE when they use Advanced Socket APIs. Signed-off-by: Mitsuru Chinen <mitch@linux.vnet.ibm.com>.

Modified File(s):
ltp/testcases/network/lib6/Makefile

44) Log Message:
The definitions, ICMP6_RR_PCOUSE_DECRVLTIME and ICMP6_RR_PCOUSE_DECRPLTIME are wrong. According to RFC3542, they should be ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME, ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME. Signed-off-by: Mitsuru Chinen <mitch@linux.vnet.ibm.com>.

Modified File(s):
ltp/testcases/network/lib6/asapi_03.c

45) Log Message:
"man 3 cmsg" says "Ancillary data should only be accessed using the CMSG macros and never directly." Indeed, when we handles cmsghdr mamber directly, this test falls into the infinite loop on a x86_64 environment. Signed-off-by: Mitsuru Chinen <mitch@linux.vnet.ibm.com>.

Modified File(s):
ltp/testcases/network/lib6/asapi_06.c

46) Log Message:
When we compile the test codes with -Wall option, lots of warning appear. It is better to remove them for the future debbuging. Signed-off-by: Mitsuru Chinen <mitch@linux.vnet.ibm.com>.

Modified File(s):
ltp/testcases/network/lib6/asapi_04.c
ltp/testcases/network/lib6/asapi_05.c
ltp/testcases/network/lib6/asapi_06.c
ltp/testcases/network/lib6/asapi_07.c
ltp/testcases/network/lib6/getaddrinfo_01.c
ltp/testcases/network/lib6/in6_01.c
ltp/testcases/network/lib6/in6_02.c
ltp/testcases/network/lib6/runcc.c

47) Log Message:
Sorry, I took a mistake. Could you apply following patch? Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

Modified File(s):
ltp/testcases/kernel/syscalls/utils/cond.mk

48) Log Message:
Addition of getgid16() test cases. Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

Modified Files:
ltp/testcases/kernel/syscalls/getgid/Makefile
ltp/testcases/kernel/syscalls/getgid/getgid01.c
ltp/testcases/kernel/syscalls/getgid/getgid02.c
ltp/testcases/kernel/syscalls/getgid/getgid03.c

Added Files:
ltp/testcases/kernel/syscalls/getgid/compat_16.h

49) Log Message:
In testcases/kernel/ipc/ipc_stress/cleanup file, it uses the command "ipcrm " to delete the ipc resources. But usage is deprecated and noneffective in some cases. Signed-off-by: Jin Bing Guo <guojb@cn.ibm.com>.

Modified File(s):
ltp/testcases/kernel/ipc/ipc_stress/cleanup

50) Log Message:
Segmentation fault error: When I ran runtest/math with runltp, the float cases worked well. But they would drop into segmentation fault when they were called directly in command line. The reason is to input "NULL" to strlen() which caused Segmentation fault. The patch also fixed a large number of memory leaks in math/float cases.Signed-off-by: Jin Bing Guo <guojb@cn.ibm.com>.

Modified File(s):
ltp/testcases/misc/math/float/main.c
ltp/testcases/misc/math/float/thread_code.c

51) Log Message:
Fix memory leaks in mem02. Signed-off-by: Jin Bing Guo <guojb@cn.ibm.com>.

Modified File(s):
ltp/testcases/kernel/mem/mem/mem02.c

52) Log Message:
Fix memory leaks in pipeio. Signed-off-by: Jin Bing Guo <guojb@cn.ibm.com>.

Modified File(s):
ltp/testcases/kernel/ipc/pipeio/pipeio.c

53) Log Message:
Fix memory leaks in mallocstress. Signed-off-by: Jin Bing Guo <guojb@cn.ibm.com>.

Modified File(s):
ltp/testcases/kernel/mem/mtest07/mallocstress.c

54) Log Message:
Fix the error in freeing memory on confstr01. In confstr01.c, it's wrong that it reset the buffer contents to NULL before freeing the memory allocated. Signed-off-by: Jin Bing Guo <guojb@cn.ibm.com>.

Modified File(s):
ltp/testcases/kernel/syscalls/confstr/confstr01.c

55) Log Message:
Addition of Initial Set of Network Name Space test cases. Signed-Off-By: Veerendra <veeren@linux.vnet.ibm.com>.

Modified Files:
ltp/testcases/kernel/containers/Makefile
ltp/testcases/kernel/containers/README
ltp/testcases/kernel/containers/check_for_unshare.c
ltp/testcases/kernel/containers/container_test.sh
ltp/testcases/kernel/containers/libclone/Makefile
ltp/testcases/kernel/containers/libclone/libclone.h

Added Files:
ltp/testcases/kernel/containers/libclone/libnetns.c
ltp/testcases/kernel/containers/netns/Makefile
ltp/testcases/kernel/containers/netns/ch_ftp.sh
ltp/testcases/kernel/containers/netns/check_netns_enabled.c
ltp/testcases/kernel/containers/netns/child.sh
ltp/testcases/kernel/containers/netns/child_1.sh
ltp/testcases/kernel/containers/netns/child_2.sh
ltp/testcases/kernel/containers/netns/child_propagate.sh
ltp/testcases/kernel/containers/netns/childipv6.sh
ltp/testcases/kernel/containers/netns/childns.sh
ltp/testcases/kernel/containers/netns/container_ftp.pl
ltp/testcases/kernel/containers/netns/crtchild.c
ltp/testcases/kernel/containers/netns/crtchild_delchild.c
ltp/testcases/kernel/containers/netns/delchild.sh
ltp/testcases/kernel/containers/netns/initialize.sh
ltp/testcases/kernel/containers/netns/par_chld_ftp.c
ltp/testcases/kernel/containers/netns/par_chld_ipv6.c
ltp/testcases/kernel/containers/netns/par_ftp.sh
ltp/testcases/kernel/containers/netns/parent.sh
ltp/testcases/kernel/containers/netns/parent_1.sh
ltp/testcases/kernel/containers/netns/parent_2.sh
ltp/testcases/kernel/containers/netns/parent_share.sh
ltp/testcases/kernel/containers/netns/parent_view.sh
ltp/testcases/kernel/containers/netns/parentns.sh
ltp/testcases/kernel/containers/netns/paripv6.sh
ltp/testcases/kernel/containers/netns/rename_net.sh
ltp/testcases/kernel/containers/netns/runnetnstest.sh
ltp/testcases/kernel/containers/netns/sysfsview.c
ltp/testcases/kernel/containers/netns/two_children_ns.c

56) Log Message:
The attached patch moves getgid02.c to getegid02.c. Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

Modified Files:
ltp/runtest/syscalls
ltp/testcases/kernel/syscalls/getegid/Makefile
ltp/testcases/kernel/syscalls/getegid/getegid01.c

Added Files:
ltp/testcases/kernel/syscalls/getegid/compat_16.h
ltp/testcases/kernel/syscalls/getegid/getegid02.c

Removed Files:
ltp/testcases/kernel/syscalls/getgid/getgid02.c

57) Log Message:
Added Default LTP run, Ballista & Open Posix Suite run to runalltests.sh. More such tests are to follow. Signed-Off-By: Subrata Modak <subrata@linux.vnet.ibm.com>.

Modified File(s):
ltp/runalltests.sh

58) Log Message:
I am not sure why runtest/admin_tools was kept outside the perview of LTP default run. I found no issues in running it as normally as other LTP tests. Please let me know if some of you have some problem running it as default. Also included are some changes for running fs_acls tests. Signed-Off-By: Subrata Modak <subrata@linux.vnet.ibm.com>.

Modified File(s):
ltp/runltp
ltp/testcases/kernel/fs/acls/Makefile
ltp/testcases/kernel/fs/acls/acl_test01

59) Log Message:
-t test-arguments Where test-argument can be a space separated sequence of:
func all functional tests will be run
stress all stress tests will be run
perf all perf tests will be run
all all tests will be run
list all available tests will be listed
clean all logs deleted, make clean performed
test_name only test_name subdir will be run (e.g: func/pi-tests)
-p profile Use profile instead of default (see doc/AUTOMATED_RUN)
-h help
Signed-Off-By: Chirag <chirag@linux.vnet.ibm.com>

Modified File(s):
ltp/testcases/realtime/run.sh

60) Log Message:
Daniel Gollub <dgollub@suse.de> wrote: With 2.6.27-rc* linux/dirent.h got removed Kbuild headers_install targe and dirent struct got removed. Instead use #include <dirent.h> instead of #include <linux/dirent.h>. Garrett Cooper <yanegomi@gmail.com> wrote: It appears that asm/page.h isn't packaged with kernel.org sources anymore as of 2.6.25, according to some folks on #fedora-devel. I was just wondering a) if that's the case, b) whether or not those affected test compiles have been identified and removed / modified? If both questions are true and no one has pointed out this issue before now, I've found all of the items which don't follow this behavior: According to the folks in #fedora-devel (airlied, jwb), we shouldn't be using asm/page.h directly, but instead should be accessing everything in page.h via sysconf(2), like so:
PAGE_SIZE => sysconf(_SC_PAGE_SIZE)
This method is POSIX compatible as per: http://www.opengroup.org/onlinepubs/009695399/functions/sysconf.html.
Yes, it is. There are numerous test cases in LTP which use:
struct dirent,
by including /usr/include/dirent.h. The interesting part is, this guy (/usr/include/dirent.h) in turn includes /usr/include/bits/dirent.h, where the definition of struct resides. Following is the patch which solves this issue along with page.h header file removal from 2.6.25 onwards, reported by Garret earlier. Signed-of-by: Subrata Modak <subrata@linux.vnet.ibm.com>.

Modified File(s):
ltp/testcases/kernel/controllers/io-throttle/iobw.c
ltp/testcases/kernel/module/create_module/create_module02.c
ltp/testcases/kernel/module/delete_module/delete_module02.c
ltp/testcases/kernel/module/query_module/query_module01.c
ltp/testcases/kernel/module/query_module/query_module02.c
ltp/testcases/kernel/module/query_module/query_module03.c
ltp/testcases/kernel/syscalls/getdents/getdents01.c
ltp/testcases/kernel/syscalls/getdents/getdents02.c
ltp/testcases/kernel/syscalls/getdents/getdents03.c
ltp/testcases/kernel/syscalls/getdents/getdents04.c
ltp/tools/top-LTP/proc/devname.c

61) Log Message:

Modified Files:
ltp/runtest/ltplite
ltp/runtest/syscalls
ltp/testcases/kernel/syscalls/ioctl/Makefile
ltp/testcases/kernel/syscalls/ioctl/ioctl01.c
ltp/testcases/kernel/syscalls/ioctl/ioctl02.c

Added Files:
ltp/testcases/kernel/syscalls/ioctl/test_ioctl

62) Log Message:
This patch introduces new check_header defined in utils/cond.mk to Makefile for eventfd test cases. Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

Modified File(s):
ltp/testcases/kernel/syscalls/eventfd/Makefile

63) Log Message:
This patch introduces new check_header defined in utils/cond.mk to Makefile for inotify test cases. Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

Modified File(s):
ltp/testcases/kernel/syscalls/inotify/Makefile

64) Log Message:
Added runtest/syscalls entry for signalfd. Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

Modified File(s):
ltp/runtest/syscalls

65) Log Message:
This patch introduces new check_header defined in utils/cond.mk to Makefile for modify_ldt test cases. Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

Modified File(s):
ltp/testcases/kernel/syscalls/modify_ldt/Makefile

66) Log Message:
Simplify genload Makefile. It turns out most of these options aren't needed to build stress. Signed-off-by: Nate Straz <nstraz@redhat.com>.

Modified File(s):
ltp/tools/genload/Makefile

67) Log Message:
In io_cancel01 , io_destroy01, io_getevents01, io_setup01, io_submit01, if the libaio-devel package didn't been installed on the system, some errors would be occured. To fix it, the each Makefile would be modified. Signed-off-by: Jin Bing Guo <guojb@cn.ibm.com>.

Modified File(s):
ltp/testcases/kernel/syscalls/io_cancel/Makefile
ltp/testcases/kernel/syscalls/io_destroy/Makefile
ltp/testcases/kernel/syscalls/io_getevents/Makefile
ltp/testcases/kernel/syscalls/io_setup/Makefile
ltp/testcases/kernel/syscalls/io_submit/Makefile

68) Log Message:
When the libcap-2.11 or newer didn't been installed on the sysytem, the filecaps testcase would return a message instead of an error. Signed-off-by: Jin Bing Guo <guojb@cn.ibm.com>.

Modified File(s):
ltp/testcases/kernel/security/filecaps/filecapstest.sh

69) Log Message:
On ppc64, the modify_ldt cases would not been compiled. So it should be return the message:"System doesn't support execution of the test" instead of an error message. In addition, the Fix_runtest_syscalls.patch also resolved the switch01 running error. Signed-off-by: Jin Bing Guo <guojb@cn.ibm.com>.

Modified Files:
ltp/runtest/syscalls
ltp/testcases/kernel/syscalls/modify_ldt/Makefile

Added Files:
ltp/testcases/kernel/syscalls/modify_ldt/run-modify_ldt01.sh
ltp/testcases/kernel/syscalls/modify_ldt/run-modify_ldt02.sh

70) Log Message:
IDCheck.sh fails to detect the group nobody does not exist and exits with 0 status. This patch fixes this behavior. I have added a small cosmetic change to indicate No is the default response to the question asked by the script. Signed-Off-By: Elder Costa <elder.costa@terra.com.br>.

Modified File(s):
ltp/IDcheck.sh

71) Log Message:
The following patch is for script testcases/kernel/ipc/ipc_stress/run_semaphore_test_01.sh. It fixes a test error (line 72) and a bash specific test extension. (lines 72 and 102) that fail to run under Ubuntu (and probably Debian) as /bin/sh points to dash instead of bash (as in Redhat/Fedora). This script would also benefit of a reformatting as it lacks indentation but I wanted to keep the patch simple and I am not familiar with script format style of LTP. Signed-Off-by: Elder Costa <evcosta@dixtal.com.br>.

Modified File(s):
ltp/testcases/kernel/ipc/ipc_stress/run_semaphore_test_01.sh

72) Log Message:
The following patch fixes testcases/kernel/syscalls/creat/creat08.c just like the previous one for open10.c. Signed-Off-By: Elder Costa <elder.costa@terra.com.br>.

Modified File(s):
ltp/testcases/kernel/syscalls/creat/creat08.c

73) Log Message:
The following patch is for testcases/kernel/syscalls/open/open10.c. Ubuntu (and I believe, Debian) does not have a nobody group and the program fails to run. I added some lines instead to test for "nogroup" instead which I believe is Debian's equivalent and must do what the program is intended to. Signed-Off-By: Elder Costa <evcosta@dixtal.com.br>.

Modified File(s):
ltp/testcases/kernel/syscalls/open/open10.c

74) Log Message:
Trivial patch to remove an unused local var. Signed-off-by: Serge Hallyn <serue@us.ibm.com>.

Modified File(s):
ltp/testcases/kernel/security/filecaps/verify_caps_exec.c

75) Log Message:
I needed the following patch in order for file capabilities to correctly install. If there is a better way to do this, that's fine with me, but CC was undefined and this was the easiest way to get past this. Signed-off-by: Serge Hallyn <serue@us.ibm.com>.

Modified File(s):
ltp/testcases/kernel/security/filecaps/checkforlibcap.sh (0 comments)

gcov: SourceForge.net: SF.net Project News: Linux Test Project (including full news text)

LTP Source ltp-20080930 released (Wed, 01 Oct 2008 11:41:53 GMT)


Released at Wed, 01 Oct 2008 11:41:53 GMT by subrata_modak
Includes files: ltp-full-20080930.patch.tgz (1738382 bytes, 37 downloads to date), ltp-full-20080930_results_kernel-2.6.9-42.EL_architecture-ppc64.html (949518 bytes, 1 downloads to date), ltp-full-20080930_results_kernel-2.6.9-22.ELsmp_architecture-i386.html (950974 bytes, 10 downloads to date), ltp-full-20080930_results_kernel-2.6.8-13-amd64-k8-smp_architecture-x86_64.html (687137 bytes, 6 downloads to date), ltp-full-20080930_results_kernel-2.6.27-rc2-autokern1_architecture-x86_64.html (6354329 bytes, 3 downloads to date), ltp-full-20080930_results_kernel-2.6.27-rc2-autokern1_architecture-i686.html (1171435 bytes, 3 downloads to date), ltp-full-20080930_results_kernel-2.6.23.13_architecture-ia64.html (765873 bytes, 4 downloads to date), ltp-full-20080930_results_kernel-2.6.18-8.el5_architecture-x86_64.html (692994 bytes, 1 downloads to date), ltp-full-20080930_results_kernel-2.6.16.60-0.21-ppc64_architecture-ppc64.html (683007 bytes, 4 downloads to date), ltp-full-20080930_results_kernel-2.6.16.21-0.8-smp_architecture-i386.html (1083990 bytes, 2 downloads to date), ltp-realtime_module-20080930.tgz (80713 bytes, 6 downloads to date), ltp-open_posix_testsuite_module-20080930.tgz (1066681 bytes, 4 downloads to date), ltp-open_hpi_testsuite_module-20080930.tgz (2261143 bytes, 4 downloads to date), ltp-network_module-20080930.tgz (530328 bytes, 6 downloads to date), ltp-kdump_module-20080930.tgz (15622 bytes, 6 downloads to date), ltp-full-20080930.tgz (9209487 bytes, 189 downloads to date), ltp-commands_module-20080930.tgz (50763 bytes, 8 downloads to date), ltp-base-20080930.tgz (3500140 bytes, 22 downloads to date), ltp-audit_module-20080930.tgz (1673342 bytes, 5 downloads to date)
[Download] [Release Notes]

gcov: SourceForge.net: Project File Releases: Linux Test Project

The LTP SEPTEMBER 2008 INTERMEDIATE Release Announcement

Hi All,

LTP Intermediate Release for September 2008
(ltp-intermediate-20080919.tgz) is available to you at:

https://sourceforge.net/project/showfiles.php?group_id=3382&package_id=3308&release_id=623424,

You can try out new test cases added till now in this month.

Regards--
Subrata (0 comments)

gcov: SourceForge.net: SF.net Project News: Linux Test Project (including full news text)

The Linux Test Project AUGUST 2008 Release Announcement

1) Log Message:
Compile error message occured on ia64 box. You should get a gcc warning on x86: "PAGE_SIZE" redefined. We can avoid the warning:
#ifndef PAGE_SIZE
#define PAGE_SIZE getpagesize()
#endif
But normally upper-case macros means constants, but the above macro is not a constant. Shi Weihua <shiwh@cn.fujitsu.com> & Li Zefan <lizf@cn.fujitsu.com>.

Modified File(s):
ltp/testcases/kernel/controllers/io-throttle/iobw.c

2) Log Message:
This patch fixes the fs_inod script. On error-condition it was not setting up proper error values and used to throw up error. Also, it was referring to a non-existent function 'error()'. Now it returns 0 on Success or non-zero value on Failure. I have verified this script on ReadWrite dir and ReadOnly-dir where the tests fail. Signed-Off-By
: Veerendra Chandrappa <vechandr@in.ibm.com>.

Modified File(s):
ltp/testcases/kernel/fs/fs_inod/fs_inod

3) Log Message:
Addition of setgid16 syscall tests. I've tried this task. Please put compat_16.h to testcases/kernel/syscalls/setgid. And apply following patch before rebuilding tests. In addition I removed one getgid() invocation in testcases/kernel/syscalls/setgid/setgid02.c because the returned value is not used anywhere in the program. Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

Modified Files:
ltp/runtest/syscalls
ltp/testcases/kernel/syscalls/setgid/Makefile
ltp/testcases/kernel/syscalls/setgid/setgid01.c
ltp/testcases/kernel/syscalls/setgid/setgid02.c
ltp/testcases/kernel/syscalls/setgid/setgid03.c

Added Files:
ltp/testcases/kernel/syscalls/setgid/compat_16.h

4) Log Message:
As reported by Li Zefan, normally upper-case macros means constants, but the above macros are not constants: Use lower-case names instead. Signed-off-by: Andrea Righi <righi.andrea@gmail.com>. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>.

Modified File(s):
ltp/testcases/kernel/controllers/io-throttle/iobw.c

5) Log Message:
It is surely better to support the old blockio.bandwidth and the new blockio.bandwidth-max interface for now. So, just ignore the previous patch. Support both blockio.bandwidth and the new interface blockio.bandwidth-max, to set i/o limiting rules according to the new userspace->kernel interface (io-throttle v8). In perspective we would like to have also blockio.bandwidth-min and implement a mechanism to guarantee minimum performance levels as well. Signed-off-by: Andrea Righi <righi.andrea@gmail.com>.

Modified File(s):
ltp/testcases/kernel/controllers/io-throttle/run_io_throttle_test.sh

6) Log Message:
utimensat01 give a build error when __NR_utimensat is not set because test.h is not included. It also gives a link error because TCID is not defined. This patch fixes these issues. Signed-off-by: Martin Habets <errandir_news@mph.eclipse.co.uk>.

Modified File(s):
ltp/testcases/kernel/syscalls/utimensat/utimensat01.c

7) Log Message:
Addition of ftruncate64 syscall test support. Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

Modified File(s)
ltp/runtest/syscalls
ltp/testcases/kernel/syscalls/ftruncate/Makefile

8) Log Message:
Addition of truncate64 syscall test support. Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

Modified File(s):
ltp/runtest/syscalls
ltp/testcases/kernel/syscalls/truncate/Makefile

9) Log Message:
Here is the RO Bind mount updated testcase. This script consists of 3 files.
test_robind.sh - This is the basis testcase which setups the infrastructure for the ROBind mount
fs_ro_test - Which has the different tests to be executed.
Readme_ROBind - Explains the different testcases executed.

This testcase addresses the earlier comments and has been made more generic. Also will be adding few ioctl syscalls testcases to the fs_ro_test flatfile. As we can append more tests to the flat file fs_ro_test. Signed-Off-By: Veerendra <veeren@linux.vnet.ibm.com>.

Added Files:
ltp/runtest/fs_readonly
ltp/testscripts/Readme_ROBind
ltp/testscripts/fs_ro_tests
ltp/testscripts/test_robind.sh

10) Log Message:
Added basic testcases for eventfd() syscall. Signed-off-by: Vijay Kumar <vijaykumar@bravegnu.org>.

Modified Files:
ltp/runtest/syscalls ltp/testcases/kernel/include/i386.in
ltp/testcases/kernel/include/ia64.in
ltp/testcases/kernel/include/powerpc.in
ltp/testcases/kernel/include/powerpc64.in
ltp/testcases/kernel/include/s390.in
ltp/testcases/kernel/include/s390x.in
ltp/testcases/kernel/include/sparc.in
ltp/testcases/kernel/include/sparc64.in
ltp/testcases/kernel/include/stub-list
ltp/testcases/kernel/include/x86_64.in

Added Files:
ltp/testcases/kernel/syscalls/eventfd/Makefile
ltp/testcases/kernel/syscalls/eventfd/eventfd01.c

11) Log Message:
Addition of get_robust_list() & set_robust_list() syscalls. Signed-Off-By: Ramon de Carvalho Valle <rcvalle@linux.vnet.ibm.com>.

Modified Files:
ltp/runtest/syscalls

Added Files:
ltp/testcases/kernel/syscalls/get_robust_list/Makefile
ltp/testcases/kernel/syscalls/get_robust_list/get_robust_list01.c
ltp/testcases/kernel/syscalls/set_robust_list/Makefile
ltp/testcases/kernel/syscalls/set_robust_list/set_robust_list01.c

12) Log Message:
In hugemmap01, huge page size was defined as a macro-definition.
#define page_sz ((1UL) << 24) /* Huge page size */
However different architecture may has different huge page size in kernel. Such as :
1. http://lxr.linux.no/linux/include/asm-i386/page.h#L122
#define HPAGE_SHIFT 22
#define HPAGE_SIZE ((1UL) << HPAGE_SHIFT) // the size is 4M

2. http://lxr.linux.no/linux/include/asm-parisc/page.h#L160
#define HPAGE_SHIFT 22 /* 4MB (is this fixed?) */
#define HPAGE_SIZE ((1UL) << HPAGE_SHIFT)

3. PPC: 16M

So read the huge page size for the kernel parameters is reasonable. The solution is to get the huge page size from the /proc/meminfo. Signed-off-by: Jin Bing Guo <guojb@cn.ibm.com>.

Modified File(s):
ltp/testcases/kernel/mem/hugetlb/hugemmap/hugemmap01.c
ltp/testcases/kernel/mem/hugetlb/hugemmap/hugemmap04.c

13) Log Message:
Now this script returns proper exit code , in the event of failure/success. I have verified this. Signed-Off-By: Veerendra <veeren@linux.vnet.ibm.com>.

Modified File(s):
ltp/testscripts/test_robind.sh

14) Log Message:
In message_queue_test_05, it planned to allocate 100 message queues for stress testing. But if the system resource of message queue couldn't meet it, it would exit without deleting the allocated message queues. In addition, other test cases couldn't allocate a new message queue any more. This patch addresses this by:
1> Add a cleanup() to remove the created message queues at premature exit.
2> Change the default number of message queues from 100 to 10. Because the maxmum on RHEL/SLES/Ubuntu is 16.
Signed-Off-By: Jin Bing Guo <guojb@cn.ibm.com>.

Modified File(s):
ltp/testcases/kernel/ipc/ipc_stress/message_queue_test_05.c

15) Log Message:
gcov-kernel: updated patch for 2.6.16 to include CONSTRUCTORS for ppc

Modified File(s):
ltp/utils/analysis/gcov-kernel/linux-2.6.16-gcov.patch

16) Log Message:
When compiling hackbench.c , I got the warning message:
---------------
$ ./testcases/kernel/sched/cfs-scheduler$ make
cc -I../../../../include -Wall hackbench.c -L../../../../lib -lltp -lpthread -o hackbench
hackbench.c: In function ‘main’:
hackbench.c:350: warning: control reaches end of non-void function
--------------
That means the hackbench would return a random number. I tested it on some different versions of GCC and got the non-zero return value. This simple patch can avoid this problem. Signed-off-by: Jin Bing Guo <guojb@cn.ibm.com>.

Modified File(s):
ltp/testcases/kernel/sched/cfs-scheduler/hackbench.c

17) Log Message:
gcov-kernel: updated 2.6.26 patch to exclude arch/x86/kernel from profiling

Modified File(s):
ltp/utils/analysis/gcov-kernel/linux-2.6.26-gcov.patch

18) Log Message:
gcov-kernel: updated 2.6.25 and 2.6.24 patch to exclude arch/x86/kernel from profiling

Modified File(s):
ltp/utils/analysis/gcov-kernel/linux-2.6.24-gcov.patch
ltp/utils/analysis/gcov-kernel/linux-2.6.25-gcov.patch

19) Log Message:
gcov-kernel: forgot to update comment

Modified File(s):
ltp/utils/analysis/gcov-kernel/linux-2.6.24-gcov.patch

20) Log Message:
lcov: integrated function coverage patch by Tom Zoernen + sorting function

Modified File(s):
ltp/utils/analysis/lcov/bin/genhtml
ltp/utils/analysis/lcov/bin/geninfo
ltp/utils/analysis/lcov/bin/lcov
ltp/utils/analysis/lcov/man/genhtml.1
ltp/utils/analysis/lcov/man/geninfo.1
ltp/utils/analysis/lcov/man/lcov.1
ltp/utils/analysis/lcov/man/lcovrc.5
ltp/utils/analysis/lcov/CHANGES
ltp/utils/analysis/lcov/Makefile
ltp/utils/analysis/lcov/lcovrc

21) Log Message:
lcov: updated rpm description + summary and version strings

Modified File(s):
ltp/utils/analysis/lcov/rpm/lcov.spec
ltp/utils/analysis/lcov/bin/gendesc
ltp/utils/analysis/lcov/bin/genhtml
ltp/utils/analysis/lcov/bin/geninfo
ltp/utils/analysis/lcov/bin/genpng
ltp/utils/analysis/lcov/bin/lcov
ltp/utils/analysis/lcov/Makefile

22) Log Message:
lcov: updated versioning mechanism + fixed some man page bugs

Modified File(s):
ltp/utils/analysis/lcov/man/gendesc.1
ltp/utils/analysis/lcov/man/genhtml.1
ltp/utils/analysis/lcov/man/geninfo.1
ltp/utils/analysis/lcov/man/genpng.1
ltp/utils/analysis/lcov/man/lcov.1
ltp/utils/analysis/lcov/man/lcovrc.5
ltp/utils/analysis/lcov/bin/updateversion.pl
ltp/utils/analysis/lcov/Makefile

23) Log Message:
lcov: fix function view page creation when --no-func is specified

Modified File(s):
ltp/utils/analysis/lcov/bin/genhtml

24) Log Message:
In semaphore_test_01 case, it wanted to create a semaphore and printed out the semaphore ID for comparison with the output of the 'ipcs -s' command. So it didn't remove the semaphore when exited. Since the resource of semaphore is limited. It's better to write a shell script to perform the comparison and remove the semaphore. I wrote the bash script "testcases/kernel/ipc/ipc_stress/run_semaphore_test_01.sh", and patched the "Makefile" and "runtest/ipc" to run the script. Please clean the semaphore up post patching and before executing tests. Signed-Off-By: Jin Bing Guo <guojb@cn.ibm.com>.

Modified Files:
ltp/runtest/ipc
ltp/testcases/kernel/ipc/ipc_stress/Makefile
ltp/testcases/kernel/ipc/ipc_stress/semaphore_test_01.c

Added Files:
ltp/testcases/kernel/ipc/ipc_stress/run_semaphore_test_01.sh

25) Log Message:
lcov: several changes
- update download link
- unify webpage links
- provide --sort and --function-coverage switch + documentation

Modified File(s):
ltp/utils/analysis/lcov/bin/gendesc
ltp/utils/analysis/lcov/bin/genhtml
ltp/utils/analysis/lcov/bin/geninfo
ltp/utils/analysis/lcov/bin/genpng
ltp/utils/analysis/lcov/bin/lcov
ltp/utils/analysis/lcov/rpm/lcov.spec
ltp/utils/analysis/lcov/man/genhtml.1

26) Log Message:
lcov: change sorting order to low-to-high coverage

Modified File(s):
ltp/utils/analysis/lcov/bin/genhtml

27) Log Message:
Intial Addition of sync_file_range() syscall test to LTP. I have developed test cases for sync_file_range() system call which will do the basic sanity (error) checking for the system call. These tests have to be run on 2.6.17 kernel and above. The test cases have been currently tested only on x86 and x86_64 architecture. Also, I have hard coded the system call number in the test case for review purposes and will be later on moving it to linux_syscall_numbers.h file in the LTP framework. The support for PowerPC was provided from 2.6.22 kernel onwards. I had not taken care of it in my previous patch. Now this is addressed. Signed-Off-By: "B. N. Poornima" <poornima@in.ibm.com>.

Modified Files:
ltp/runtest/syscalls

Added Files:
ltp/include/linux_syscall_numbers.h
ltp/testcases/kernel/syscalls/sync_file_range/Makefile
ltp/testcases/kernel/syscalls/sync_file_range/sync_file_range01.c

28) Log Message:
Changed the way by which message_queue_test_02 should be run properly. Signed-Off-By: Jin Bing Guo <guojb@cn.ibm.com>.

Modified File(s):
ltp/runtest/ipc

29) Log Message:
This is a patch from John, written a few months back. I have fixed up a few cosmetic whitespace bits, and have refreshed it so it should apply cleanly to LTP today. Will Schmidt <will_schmidt@vnet.ibm.com>.

Comments originally by John Stultz:

So I've been trying to go through and review our test cases to make sure we're getting sane data and the tests are really testing what we want. Looking at gtod_latency and gtod_infinite, I was always struck that gtod_infinite always came up with much larger latencies while gtod_latency usually seemed to miss them. Main issues:
1) gtod_latency was not running for long enough, I've upped the iterations by 10x to make sure we get more solid results.
2) gtod_latency was doing too much computation between gtod calls. This means it could miss latencies that occur while it was running. I reworked the data collection loop so the un-measured window is smaller.
3) gtod_infinite was accidentally measuring its own computation in its delay, inflating its values. I cut that logic out.
4) both gtod_latency and gtod_infinite were not running mlocked. this caused background SCHED_OTHER disk access to inject delays, making the results less reliable.

Those four issues have been fixed, and I also converted gtod_latency to use clock_gettime() just to be consistent and to give slightly better resolution.
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Acked-by: Darren Hart <dvhltc@us.ibm.com>
Acked-by: Will Schmidt <will_schmidt@vnet.ibm.com>

Modified File(s):
ltp/testcases/realtime/func/gtod_latency/gtod_infinite.c
ltp/testcases/realtime/func/gtod_latency/gtod_latency.c

30) Log Message:
How about introducing TCID_DEFINE? I'm not sure puttint TCID_DEFINE macro to test.h. I'm not sure using a symbol as an argument for TCID_DEFINE macro is better than using a string. (I had strong lisp backgroud:-). If this acceptable, I'll update related documents and test cases I worked. Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

Modified File(s):
ltp/include/test.h
ltp/testcases/kernel/syscalls/setgid/Makefile
ltp/testcases/kernel/syscalls/setgid/compat_16.h
ltp/testcases/kernel/syscalls/setgid/setgid01.c

31) Log Message:
I propose this new test setuid04 for the setuid syscall. The goal if this test is to check the fsuid is correctly handled by the setuid syscall. To do so, the test create a testfile as root with permission 0644, then do a setuid and try to open the file RDWR. This last open must fail since the process with new UID is not allowed to open the file on write. In a second step, the test does a fork to check the fsuid is correctly passed to a son and the son behaves correctly regarding files, i.e. it cannot open on write the test file.
I propose this new test setfsuid04 for the setfsuid syscall. The goal if this test is to check the fsuid is correctly handled by the setfsuid syscall. To do so, the test creates a testfile as root with permission 0644, then do a setuid and try to open the file RDWR. This last open must fail since the process with new UID is not allowed to open the file on write. In a second step, the test does a fork to check the fsuid is correctly passed to a son and the son behaves correctly regarding files, i.e. it cannot open on write the test file. Finally, the test falls back to the initial UID and try to open the file on write. This open must succeed.
I propose this new test setreuid07 for the setreuid syscall. The goal if this test is to check the fsuid is correctly handled by the setreuid syscall. To do so, the test creates a testfile as root with permission 0644, then do a setreuid and try to open the file RDWR. This last open must fail since the process with new UID is not allowed to open the file on write. In a second step, the test does a fork to check the fsuid is correctly passed to a son and the son behaves correctly regarding files, i.e. it cannot open on write the test file. Finally, the test falls back to the initial UID and try to open the file on write. This open must succeed.
I also propose this new test setresuid04 for the setresuid syscall. The goal if this test is to check the fsuid is correctly handled by the setresuid syscall. To do so, the test creates a testfile as root with permission 0644, then do a setresuid and try to open the file RDWR. This last open must fail since the process with new UID is not allowed to open the file on write. In a second step, the test does a fork to check the fsuid is correctly passed to a son and the son behaves correctly regarding files, i.e. it cannot open on write the test file. Finally, the test falls back to the initial UID and try to open the file on write. This open must succeed.
Signed-Off-By: Renaud Lottiaux <Renaud.Lottiaux@kerlabs.com>,
Signed-Off-By: Subrata Modak <subrata@linux.vnet.ibm.com>.

Modified Files:
ltp/runtest/ltplite
ltp/runtest/stress.part3
ltp/runtest/syscalls

Added Files:
ltp/testcases/kernel/syscalls/setfsuid/setfsuid04.c
ltp/testcases/kernel/syscalls/setresuid/setresuid04.c
ltp/testcases/kernel/syscalls/setreuid/setreuid07.c
ltp/testcases/kernel/syscalls/setuid/setuid04.c

32) Log Message:
I was experimenting with using runltp along with disk stress (-D option). It does not parse the arguments properly. It only uses the last parameter in the comma separated list. With this patch it properly parses the arguments to the -D option. Signed-off-by: Doug Chapman <doug.chapman@hp.com>.

Modified File(s):
ltp/runltp

33) Log Message:
I've done on the other test cases. In addition, I've cleaned up Makefiles related to _64 and _16 testcases as suggested by Garrett Cooper <yanegomi@gmail.com>. Signed-off-by: Masatake YAMATO <yamato@redhat.com>.
Garret suggested:
You can avoid situations like the above by doing something like this in your Makefiles:
SRC := $(patsubst %.c,%,$(wildcard *.c))
MAKE_TARGETS := $(SRCS) $(addsuffix _16,$(SRCS))
all: $(MAKE_TARGETS)
%_16: %.c
%_16: CFLAGS += -DUSE_COMPAT16_SYSCALL=1 -DTST_USE_COMPAT16_SYSCALL=1

Modified File(s):
ltp/testcases/kernel/syscalls/fadvise/Makefile
ltp/testcases/kernel/syscalls/fadvise/posix_fadvise01.c
ltp/testcases/kernel/syscalls/fadvise/posix_fadvise02.c
ltp/testcases/kernel/syscalls/fadvise/posix_fadvise03.c
ltp/testcases/kernel/syscalls/fadvise/posix_fadvise04.c
ltp/testcases/kernel/syscalls/ftruncate/Makefile
ltp/testcases/kernel/syscalls/ftruncate/ftruncate01.c
ltp/testcases/kernel/syscalls/ftruncate/ftruncate02.c
ltp/testcases/kernel/syscalls/ftruncate/ftruncate03.c
ltp/testcases/kernel/syscalls/ftruncate/ftruncate04.c
ltp/testcases/kernel/syscalls/sendfile/Makefile
ltp/testcases/kernel/syscalls/sendfile/sendfile02.c
ltp/testcases/kernel/syscalls/sendfile/sendfile03.c
ltp/testcases/kernel/syscalls/sendfile/sendfile04.c
ltp/testcases/kernel/syscalls/sendfile/sendfile05.c
ltp/testcases/kernel/syscalls/sendfile/sendfile06.c
ltp/testcases/kernel/syscalls/sendfile/sendfile07.c
ltp/testcases/kernel/syscalls/setgid/Makefile
ltp/testcases/kernel/syscalls/setgid/setgid02.c
ltp/testcases/kernel/syscalls/setgid/setgid03.c
ltp/testcases/kernel/syscalls/truncate/Makefile
ltp/testcases/kernel/syscalls/truncate/truncate01.c
ltp/testcases/kernel/syscalls/truncate/truncate02.c
ltp/testcases/kernel/syscalls/truncate/truncate03.c
ltp/testcases/kernel/syscalls/truncate/truncate04.c

34) Log Message:
This patch adds eventfd counter overflow test cases. I have cleaned up this patch - separated the test cases into its own functions and fixed a few typos. Please ignore the previous patch, and use this cleaned up patch. After the patch is applied, a "make clean" and a "make" should result in a clean build. It works perfectly for me. Anyways I am providing an updated patch with the other linux_syscall_numbers.h removed. As noted in my previous mail, there are two instances of the generated file in the CVS repo now, "include/linux_syscall_numbers.h" and "testcases/kernel/include/linux_syscall_numbers.h". The first is supposed to be a link to the second, and both are generated during the build process, and should be removed. The new patch removes both the files. Signed-off-by: Vijay Kumar <vijaykumar@bravegnu.org>.

Modified Files:
ltp/testcases/kernel/include/Makefile
ltp/testcases/kernel/syscalls/eventfd/Makefile
ltp/testcases/kernel/syscalls/eventfd/eventfd01.c

Removed Files:
ltp/include/linux_syscall_numbers.h
ltp/testcases/kernel/include/linux_syscall_numbers.h

35) Log Message:
Integrating build/install of ...security/seclvl (BSD Secure Levels LSM) to default LTP build environment. Was just browsing through and found that this piece of code is not built/installed by default. I did not find any issue to do so. So, just added up to the Makefile(s). I am however investigating the best possible way to run them. Signed-Off-By: Subrata Modak <subrata@linux.vnet.ibm.com>.

Modified File(s):
ltp/testcases/kernel/security/Makefile
ltp/testcases/kernel/security/seclvl/Makefile

36) Log Message:
I am attaching a patch fs.patch for fixing some testcases failing on arm. fs.patch:- For arm architecture some system calls has been removed like time, utime etc. Since fs testcases include time system call, it should be replaced with gettimeofday system call. It wouldn't effect other architectures and thus works for arm also. Also testcases like utime should be made architecture specific. sasa sasa <sasak.1983@gmail.com>.

Modified File(s):
ltp/testcases/kernel/fs/doio/doio.c
ltp/testcases/kernel/fs/doio/growfiles.c
ltp/testcases/kernel/fs/doio/iogen.c
ltp/testcases/kernel/fs/doio/rwtest.sh

37) Log Message:
The LTP numa testcases were initially designed for libnuma API in version 1. Building latest LTP (intermediate 20080820) against latest version of libnuma (2.0.2) requires -DNUMA_VERSION1_COMPATIBILITY in the CFLAGS - to switch to to the compatibility interface of libnuma API version 1. There are no libnuma testcases for API version 2 in ltp yet. Currently -DNUMA_VERSION1_COMPATIBILITY will not help for the LTP numa testcase, since the compability interface is missing some interface from version 1: Fix for the VERSION1 compatibility interface got already send to linux-numa list. I hope the libnuma fix got accepted and attached can be applied to LTP soon to fix the build of the LTP numa testcases, when building against libnuma 2.0.2 or greater. Signed-off-by: Daniel Gollub <dgollub@suse.de>.

Modified File(s):
ltp/testcases/kernel/numa/Makefile

38) Log Message:
Was just browsing through and found that this piece of code is not built/installed by default. I did not find any issue to do so. So, just added up to the Makefile(s). I am however investigating the best possible way to run them. Signed-Off-By: Subrata Modak <subrata@linux.vnet.ibm.com>. Heh, seclvl hasn't been in the kernel in quite some time. Should it be dropped? BTW, Mike, I'd expect you to consider re-implementing some of seclvl using capability bounding sets. "Serge E. Hallyn" <serue@us.ibm.com>. I do not anticipate that anyone will ever try to get seclvl back into the kernel, so I vote that the test be dropped from LTP. Michael Halcrow <mhalcrow@us.ibm.com>.

Modified Files:
ltp/testcases/kernel/security/Makefile

Removed Files:
ltp/testcases/kernel/security/seclvl/Makefile
ltp/testcases/kernel/security/seclvl/README
ltp/testcases/kernel/security/seclvl/create_guid_file.c
ltp/testcases/kernel/security/seclvl/create_guid_node.c
ltp/testcases/kernel/security/seclvl/create_suid_file.c
ltp/testcases/kernel/security/seclvl/create_suid_node.c
ltp/testcases/kernel/security/seclvl/ioperm.c
ltp/testcases/kernel/security/seclvl/iopl.c
ltp/testcases/kernel/security/seclvl/verify_seclvl.sh

39) Log Message:
Addition of getcpu() syscall to LTP. I have fixed the problem noticed earlier. Hope it will be fine this time. More over I wanted to mention that I have dropped getcpu2.c as it was found to be less relevant for getcpu() testing. Andi had made some suggestions to improve the test, I am submitting this before making all those changes. If possible I will sit and work on Andi's suggestion. Signed-Off-By: Sharyathi Nagesh <sharyath@in.ibm.com>.

Modified Files:
ltp/runtest/syscalls

Added Files:
ltp/testcases/kernel/syscalls/getcpu/Makefile
ltp/testcases/kernel/syscalls/getcpu/getcpu01.c

40) Log Message:
Build Error fix. I too had prepared the same patch, but there were some more issues on a different kernel. Hence, have put more checks in the newly attached patch. Subrata, I have tested it on ppc64 and x86_64 and is working fine. Please test and let me know. Signed-Off-By: "B. N. Poornima" <poornima@in.ibm.com>, Signed-Off-By: Jin Bing Guo <guojb@cn.ibm.com>.

Modified File(s):
ltp/testcases/kernel/syscalls/sync_file_range/sync_file_range01.c

41) Log Message:
inotify01 build error fix for x86_64. Signed-Off-By: Andrew Vagin <avagin@parallels.com>.

Modified File(s):
ltp/testcases/kernel/syscalls/inotify/inotify01.c
ltp/testcases/kernel/syscalls/inotify/inotify02.c

42) Log Message:
move_pages() failed to compile on the following machine. Subrata Modak <subrata@linux.vnet.ibm.com>. Jin Bing Guo <guojb@cn.ibm.com> wrote: I also met this problem on ppc machine with SLES 10.2. I checked the numactl package and found the problem was due to the unmatch of the version of numa. The numa_move_pages was supported from numactl-2.0.0. See the change log of it. Vijay Kumar <vijaykumar@bravegnu.org> wrote: Hi Subrata, as pointed out by Jin Bing Guo, only recent versions of libnuma have support for move_pages(). It is necessary to check if move_pages() support is available before compiling the test cases. Check if move_pages() support is available in libnuma. Signed-off-by: Vijay Kumar <vijaykumar@bravegnu.org>.

Modified File(s):
ltp/testcases/kernel/syscalls/move_pages/Makefile

43) Log Message:
I've rearranged Makefile for setgid test case. I've put _16 related macros to compat_16.mk file. The original Makefile includes it. So when I work on more _16 test cases, I just have to do the same. I'll do the same on _64. I choose utils as its directory name. Please put attached files compat_16.mk and newer_64.mk to ltp/testcases/kernel/syscalls/utils. Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

Modified Files:
ltp/testcases/kernel/syscalls/fadvise/Makefile
ltp/testcases/kernel/syscalls/ftruncate/Makefile
ltp/testcases/kernel/syscalls/sendfile/Makefile
ltp/testcases/kernel/syscalls/setgid/Makefile
ltp/testcases/kernel/syscalls/truncate/Makefile

Added Files:
ltp/testcases/kernel/syscalls/utils/compat_16.mk
ltp/testcases/kernel/syscalls/utils/newer_64.mk

44) Log Message:
The following patch adds two known issues seen on some versions of Kernels, and also modifies the copyright information. Signed-off-by: CAI Qian <caiqian@redhat.com>.

Modified File(s):
ltp/testcases/kernel/fs/proc/proc01.c

45) Log Message:
Conformance/interfaces/timer_getoverrun/2-2 has failed on tests with some distros running on ppc64 machines. As far as I could realize, it happens due to these machines are running kernel with timer frequency configured to 100 Hz, which represents a clock precision smaller than the defined INTERVALNSEC. This patch sets the interval equals to the clock precision (retrieved via function clock_getres()), in order to avoid to use a interval smaller than the resolution of the clock. However, with these changes, this testcase becomes very similar to the test 2-3. Is this a valid modification? If not, any thought what should be done in this case?. Signed-off-by: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>.

Modified File(s):
ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_getoverrun/2-2.c

46) Log Message:
Find attached patchset which address some serious compiler warning fixes spotted by GCC4.1 (SLES10 SP2) and GCC4.3 (openSUSE Factory). Fix potential overflow in umount01.c, spotted by _FORTIFY_SOURCE=2. Unintended truncating of string length could cause potential overflow, which got spotted by GCC with _FORTIFY_SOURCE=2. Note the difference: malloc(strlen(fstype + 1)) != malloc(strlen(fstype) + 1). I guess this was not intended? Also valgrind detected this issue. Replaced wrong use of malloc/strncpy with simplestrdup(). Signed-off-by: Daniel Gollub <dgollub@suse.de>.

Modified File(s):
ltp/testcases/kernel/syscalls/umount/umount01.c

47) Log Message:
Find attached patchset which address some serious compiler warning fixes spotted by GCC4.1 (SLES10 SP2) and GCC4.3 (openSUSE Factory). Fix warning about _is_ unused variable (note the difference between "may" and "is" unused!). Unintended mixup with *pwd and *path. *path never gets set.
execve02.c: In function 'setup':
execve02.c:217: warning: 'path' is used uninitialized in this function
Signed-off-by: Daniel Gollub <dgollub@suse.de>.

Modified File(s):
ltp/testcases/kernel/syscalls/execve/execve02.c

48) Log Message:
Find attached patchset which address some serious compiler warning fixes spotted by GCC4.1 (SLES10 SP2) and GCC4.3 (openSUSE Factory). ftest08.c calls close() with uninitialized file descriptor variable. Fix warning about _is_ unused variable (note the difference between "may" and "is" unused!). Only child opens the file descriptor, once forked.
ftest08.c: In function 'runtest':
ftest08.c:192: warning: 'fd' is used uninitialized in this function
Valgrind spot this issue aswell:
==21058== Syscall param close(fd) contains uninitialised byte(s)
==21058== at 0x4BD70A0: __close_nocancel (in /lib64/libc-2.4.so)
==21058== by 0x401D0E: runtest (ftest08.c:192)
==21058== by 0x401B10: main (ftest08.c:119)
Signed-off-by: Daniel Gollub <dgollub@suse.de>.

Modified File(s):
ltp/testcases/kernel/fs/ftest/ftest08.c

49) Log Message:
Find attached patchset which address some serious compiler warning fixes spotted by GCC4.1 (SLES10 SP2) and GCC4.3 (openSUSE Factory). ftest04.c calls close() with uninitialized file descriptor variable. Fix warning about _is_ unused variable (note the difference between "may" and "is" unused!). Only child opens the file descriptor, once forked.
ftest04.c: In function 'runtest':
ftest04.c:188: warning: 'fd' is used uninitialized in this function

Valgrind spot this issue as well:
==15263== Syscall param close(fd) contains uninitialised byte(s)
==15263== at 0x4BD70A0: __close_nocancel (in /lib64/libc-2.4.so)
==15263== by 0x401CD6: runtest (ftest04.c:188)
==15263== by 0x401AD0: main (ftest04.c:111)
Signed-off-by: Daniel Gollub <dgollub@suse.de>.

Modified File(s):
ltp/testcases/kernel/fs/ftest/ftest04.c

50) Log Message:
When packaging LTP with rpmlinit, rpmlinit complains about several scripts which don't have Shebang on the head of the file. Some files didn't have a Shebang at all. Signed-off-by: Daniel Gollub <dgollub@suse.de>.

Modified File(s):
ltp/ltpmenu
ltp/testcases/commands/ade/file/file_test.sh
ltp/testcases/commands/cpio/cpio_tests.sh
ltp/testcases/commands/eject/eject-tests.sh
ltp/testcases/commands/fileutils/cp/cp_tests.sh
ltp/testcases/commands/fileutils/ln/ln_tests.sh
ltp/testcases/commands/fileutils/mkdir/mkdir_tests.sh
ltp/testcases/commands/fileutils/mv/mv_tests.sh
ltp/testcases/commands/gzip/gzip_tests.sh
ltp/testcases/commands/logrotate/logrotate_tests.sh
ltp/testcases/commands/mail/mail_tests.sh
ltp/testcases/commands/tar/tar_tests.sh
ltp/testcases/kernel/containers/pidns/runpidnstest.sh
ltp/testcases/kernel/ipc/ipc_stress/run_semaphore_test_01.sh
ltp/testcases/kernel/numa/numa01.sh
ltp/testcases/kernel/security/filecaps/Makefile
ltp/testcases/network/dhcpd/dhcpd_tests.sh
ltp/testcases/network/iptables/iptables_tests.sh
ltp/testcases/network/traceroute/traceroute_tests.sh
ltp/testcases/network/xinetd/xinetd_tests.sh


51) Log Message:
I've extended setgroup test cases can test setgroups16 old system calls. To test, please put attached compat_16.h to ltp/testcases/kernel/syscalls/setgroups; and apply the patch. Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

Modified Files:
ltp/runtest/syscalls
ltp/testcases/kernel/syscalls/setgroups/Makefile
ltp/testcases/kernel/syscalls/setgroups/setgroups01.c
ltp/testcases/kernel/syscalls/setgroups/setgroups02.c
ltp/testcases/kernel/syscalls/setgroups/setgroups03.c
ltp/testcases/kernel/syscalls/setgroups/setgroups04.c

Added Files:
ltp/testcases/kernel/syscalls/setgroups/compat_16.h

52) Log Message:
In testcases/kernel/sched/tool/time-schedule, it used kill(0, SIGTERM) to terminate the all the processes in the group. However, the progress group leader might be different regarding the different call methods. In interactive call such as pan, it called time-schedule by exec() and setpgrp() as a child process. The time-schedule process would be the process group leader and all the child processes created by it had the same PGID. So the SIGTERM was sent to process group and the exit code got by pan was 0. In non-inactive call such as STAF/STAX, one shell script called the time-schedule directly. The shell script would be the process group leader. So the SIGTERM was also sent to the shell script and the exit code got by STAF/STAX was 143 (128+15). This patch can resolve this problem.
Signed-off-by: Lin Feng Shen <shenlinf@cn.ibm.com>,
Signed-off-by: Jin Bing Guo <guojb@cn.ibm.com>.

Modified File(s):
ltp/testcases/kernel/sched/tool/time-schedule.c

53) Log Message:
Sorry, I found one typo in my code. Please apply following patch. Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

Modified File(s):
ltp/testcases/kernel/syscalls/utils/newer_64.mk

54) Log Message:
I tried to run runltp with the arguments suggested in the script's help and I get the error:
./runltp: 783: arith: syntax error: "2,4,10240,1"
I have checked out the latest intermediate (August 20th) and noticed there was a change that fixed one of the sources of this error but still one remained. I am attaching the patch (to July stable version) which fixed the issue in my case. I am running Ubuntu 7.04 (Feisty) on a Core 2 Duo based machine. Also may I suggest you update the maintainers info in the script too? :) I hope this can be helpful. Signed-Off-By: "elder.costa" <elder.costa@terra.com.br>.

Modified File(s):
ltp/runltp

55) Log Message:
I didn't see the oom-killer in my test machines. But I found large memory leak of the Hackbench with valgrind tool. From that we can get that it will lose 73,800 bytes with running "hackbench 150 process 1000" once. This patch fixed the memory leak problem.

Modified File(s):
ltp/testcases/kernel/sched/cfs-scheduler/hackbench.c

56) Log Message:
While the synchronization in the sched_football testcase under the realtime test suite is not erroneous, it can be enahnced and made more reliable by making use of pthread_barriers, like in other testcases. This patch adds the same. Testing done: Infinite iterations of the testcase run with this patch.
Signed-off-by: Ankita Garg <ankita@in.ibm.com>,
Acked-by: Vernon Mauery <vernux@us.ibm.com>.

Modified File(s):
ltp/testcases/realtime/func/sched_football/sched_football.c

57) Log Message:
We can add a check for the header in the Makefile, so that we don't break builds. I think test should report fail in this case if a version of kernel more then 2.6.13. The Patch is for the reason that we don't break builds. Signed-Off-By: Andrew Vagin <avagin@gmail.com>.

Modified File(s):
ltp/testcases/kernel/syscalls/inotify/Makefile
ltp/testcases/kernel/syscalls/inotify/inotify01.c
ltp/testcases/kernel/syscalls/inotify/inotify02.c

58) Log Message:
On centos-5 2.6.18 kernel, I get a failure with shmat01. In the setup() function at the end:
/* some architectures (e.g. parisc) are strange, so better always align to * * next SHMLBA address. */
base_addr = (void *)( ((unsigned long)(base_addr) & ~(SHMLBA-1)) + SHMLBA );
This bumps up the address if it's already aligned. Signed-off-by: Bob Hepple <bhepple@promptu.com>.

Modified File(s):
ltp/testcases/kernel/syscalls/ipc/shmat/shmat01.c

59) Log Message:
Reverting back CAI Qian´s patch applied on Wed Aug 27 10:24:19 2008 UTC, with following log: The following patch adds two known issues seen on some versions of Kernels, and also modifies the copyright information. Signed-off-by: CAI Qian <caiqian@redhat.com>.

Modified File(s):
ltp/testcases/kernel/fs/proc/proc01.c

60) Log Message:
Under Ubuntu (tested with both 7.04 and 8.04) IDCheck shows the message [: 100: 0: unexpected operator]. That happens because the variable EUID is not defined. I guess dash (Ubuntu's sh) is not as tolerant as Fedora's (which shows no message). Bellow a small patch for it. Signed-Off-By: Elder <elder.costa@terra.com.br>.

Modified File(s):
ltp/IDcheck.sh (0 comments)

gcov: SourceForge.net: SF.net Project News: Linux Test Project (including full news text)

LTP Source *OLD* ltp-20080831 released (Mon, 01 Sep 2008 13:53:36 GMT)


Released at Mon, 01 Sep 2008 13:53:36 GMT by subrata_modak
Includes files: ltp-base-20080831.tgz (3475280 bytes, 208 downloads to date), ltp-commands_module-20080831.tgz (50745 bytes, 46 downloads to date), ltp-full-20080831.patch.tgz (57247 bytes, 142 downloads to date), ltp-kdump_module-20080831.tgz (15618 bytes, 28 downloads to date), ltp-network_module-20080831.tgz (530303 bytes, 37 downloads to date), ltp-open_hpi_testsuite_module-20080831.tgz (2261255 bytes, 26 downloads to date), ltp-open_posix_testsuite_module-20080831.tgz (1066775 bytes, 37 downloads to date), ltp-realtime_module-20080831.tgz (80593 bytes, 54 downloads to date), ltp-full-20080831.tgz (7511258 bytes, 1377 downloads to date), ltp-full-20080831_results_kernel-2.6.18-91.el5_architecture-ppc64.html (1015708 bytes, 38 downloads to date), ltp-full-20080831_results_kernel-2.6.18-91.el5_architecture-x86_64.html (1059872 bytes, 44 downloads to date), ltp-full-20080831_results_kernel-2.6.18-91.el5PAE_architecture-i386.html (1048815 bytes, 39 downloads to date), ltp-full-20080831_results_kernel-2.6.9-22.ELsmp_architecture-i386.html (893579 bytes, 61 downloads to date), ltp-full-20080831_results_kernel-2.6.9-42.EL_architecture-ppc64.html (892042 bytes, 21 downloads to date), ltp-full-20080831_results_kernel-2.6.9-67.ELsmp_architecture-x86_64.html (892495 bytes, 27 downloads to date), ltp-full-20080831_results_kernel-2.6.16.21-0.8-default_architecture-ia64.html (1017576 bytes, 51 downloads to date), ltp-intermediate-20080919.tgz (7536806 bytes, 15 downloads to date), ltp-full-20080831_results_kernel-2.6.23.13_architecture-ia64.html (1022562 bytes, 21 downloads to date)
[Download] [Release Notes]

gcov: SourceForge.net: Project File Releases: Linux Test Project

The LTP AUGUST 2008 INTERMEDIATE Release Announcement

Hi All,

LTP Intermediate Release for August 2008 (ltp-intermediate-20080820.tgz)
is available to you at:

http://ltp.sourceforge.net/

You can try out new test cases added till now in this month.

Regards--
Subrata (0 comments)

gcov: SourceForge.net: SF.net Project News: Linux Test Project (including full news text)

The Linux Test Project JULY 2008 Release Announcement

1) Log Message:
I've tried LTP and found some wrong mode at creating file/dir in LTP source files. Here is a patch. Junjiro Okajima<hooanon05@yahoo.co.jp>.

Modified File(s):
ltp/lib/write_log.c
ltp/testcases/kernel/fs/dmapi/attr.c
ltp/testcases/kernel/fs/dmapi/config.c
ltp/testcases/kernel/fs/dmapi/disp.c
ltp/testcases/kernel/fs/dmapi/event_am.c
ltp/testcases/kernel/fs/dmapi/event_an.c
ltp/testcases/kernel/fs/dmapi/event_sd.c
ltp/testcases/kernel/fs/dmapi/event_sn.c
ltp/testcases/kernel/fs/dmapi/handle.c
ltp/testcases/kernel/fs/dmapi/hole.c
ltp/testcases/kernel/fs/dmapi/invis.c
ltp/testcases/kernel/fs/dmapi/mmap.c
ltp/testcases/kernel/fs/dmapi/mmapfile.c
ltp/testcases/kernel/fs/dmapi/mount.c
ltp/testcases/kernel/fs/dmapi/objref.c
ltp/testcases/kernel/fs/dmapi/pmr_post.c
ltp/testcases/kernel/fs/dmapi/pmr_pre.c
ltp/testcases/kernel/fs/dmapi/right.c
ltp/testcases/kernel/fs/dmapi/token.c
ltp/testcases/kernel/fs/fsstress/fsstress.c
ltp/testcases/kernel/fs/scsi/ltpfs/main.c
ltp/testcases/kernel/fs/scsi/ltpscsi/scsimain.c
ltp/testcases/kernel/io/aio/aio02/cases/aio_tio.c
ltp/testcases/kernel/ipc/ipc_stress/shmem_test_03.c
ltp/testcases/kernel/syscalls/open/open08.c

2) Log Message:
Every once in a while, pselect01 fails with the following output:
FAIL : Sleep time was incorrect:5 != 6
This is because we expect our sleeps of slightly more than 5 seconds to last at most 5 seconds (if we're uninterrupted, integer truncation will mean this only comes up about 1% of the time). To fix this, we should instead expect our sleeps to last between 5 and 6 seconds, as in the patch inlined below. Signed-off-by: Craig Meier <crmeier@ghs.com>.

Modified File(s):
ltp/testcases/kernel/syscalls/pselect/pselect01.c

3) Log Message:
Fix a bug in the selinux testsuite makefile, pointed out by David Howells. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>.

Modified File(s):
ltp/testcases/kernel/security/selinux-testsuite/tests/Makefile

4) Log Message:
TEST_RETURN should not be inverted when logging. Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

Modified File(s):
ltp/testcases/kernel/syscalls/io_cancel/io_cancel01.c

5) Log Message:
gcov-kernel: refreshed 2.6.16 patch, adding CONFIG_MODVER compatbility

Modified File(s):
ltp/utils/analysis/gcov-kernel/linux-2.6.16-gcov.patch

6) Log Message:
Fixes the following issues:
The LTP selinux-testsuite does not work out of the box on Red Hat Enterprise Linux 4. The testscripts/test_selinux.sh script does not detect if refpolicy should be used or not. The LTP selinux-testsuite test policy uses the can_setcon macro which is not defined in global macros of Red Hat Enterprise Linux 4 selinux policy targeted sources. Some Makefile needs minor fixes and enhancements. Ramon de Carvalho Valle <rcvalle@linux.vnet.ibm.com>.

Modified File(s):
ltp/testcases/kernel/security/selinux-testsuite/policy/Makefile
ltp/testcases/kernel/security/selinux-testsuite/policy/test_global.te
ltp/testcases/kernel/security/selinux-testsuite/tests/Makefile
ltp/testscripts/test_selinux.sh

7) Log Message:
I've attached some patches that I created for LTP at work. Most of them simply add command-line options to specify the amount of memory/pages to use for tests. However, there's one fix that works around a bug in uClibc's pthread implementation. Allow the amount of memory to be used to be passed as a command-line argument. Matt Fleming <mjf@gentoo.org>.

Modified File(s):
ltp/testcases/kernel/mem/mem/mem02.c

8) Log Message:
I've attached some patches that I created for LTP at work. Most of them simply add command-line options to specify the amount of memory/pages to use for tests. However, there's one fix that works around a bug in uClibc's pthread implementation. It can be unsafe to call exit(3) from a signal handler. Call _exit(2) instead. Matt Fleming <mjf@gentoo.org>.

Modified File(s):
ltp/testcases/kernel/mem/mtest06/mmap1.c

9) Log Message:
I've attached some patches that I created for LTP at work. Most of them simply add command-line options to specify the amount of memory/pages to use for tests. However, there's one fix that works around a bug in uClibc's pthread implementation. Allow the number of pages to use for the test to be specified on the command-line. Fix a memory leak. Also, call _exit(2) from child processes which avoids the child calling the atexit functions that the pthread library setup. This fixes an issue where the pthread manager thread would begin exiting at the same time as a child thread. The child thread would run the atexit functions which cause it to wait for a signal to be sent from the thread manager. As the thread manager was trying to exit that signal would never be sent. Calling _exit(2) from the child avoids this whole mess. Matt Fleming <mjf@gentoo.org>.

Modified File(s):
ltp/testcases/kernel/mem/mtest05/mmstress.c

10) Log Messsage:

Modified File(s):
I've attached some patches that I created for LTP at work. Most of them simply add command-line options to specify the amount of memory/pages to use for tests. However, there's one fix that works around a bug in uClibc's pthread implementation.Don't place an upper limit on the amount of time a nanosleep(2) call should take. The nanosleep(2) call will suspend execution for _at least_ the specified time, no upper limit is guaranteed. Matt Fleming <mjf@gentoo.org>.

Modified File(s):
ltp/testcases/kernel/syscalls/nanosleep/nanosleep01.c

11) Log Message:
I've attached some patches that I created for LTP at work. Most of them simply add command-line options to specify the amount of memory/pages to use for tests. However, there's one fix that works around a bug in uClibc's pthread implementation.Allow the number of iterations to be specified on the command line. Matt Fleming <mjf@gentoo.org>.

Modified File(s):
ltp/testcases/kernel/sched/nptl/nptl01.c

12) Log Message:
I've attached some patches that I created for LTP at work. Most of them simply add command-line options to specify the amount of memory/pages to use for tests. However, there's one fix that works around a bug in uClibc's pthread implementation. Check for SYS_getuid32 and SYS_getgid32, these are the versions provided by some architectures. Matt Fleming <mjf@gentoo.org>.