SCM Repositories - ltp

Parent Directory Parent Directory


Links to HEAD: (view) (download) (annotate)
Sticky Tag:


Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Mon Aug 25 14:10:01 2008 UTC (3 months, 1 week ago) by subrata_modak
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +4 -6 lines
Diff to previous 1.11
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>.

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Wed Aug 20 10:55:20 2008 UTC (3 months, 2 weeks ago) by subrata_modak
Branch: MAIN
Changes since 1.10: +5 -4 lines
Diff to previous 1.10
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

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Tue Aug 5 02:59:12 2008 UTC (4 months ago) by subrata_modak
Branch: MAIN
Changes since 1.9: +7 -2 lines
Diff to previous 1.9
Addition of ftruncate64 syscall test support. Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Tue May 20 10:15:08 2008 UTC (6 months, 2 weeks ago) by subrata_modak
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8
Put-libtestsuite-to-a-more-common-place.patch
Roy Lee <roylee17@gmail.com> noted:
Referring to the sync_pipes API, create_sync_pipes(), wait_son_startup(), notify_startup(), which is defined in the: testcases/kernel/syscalls/lib/libtestsuite.[ch], I found the new sync_pipes API very convenient to synchronize processes. However the naming might pose some semantic restrictions on their usages. Since it can be used for making parent to wait child, and vice versa, perhaps a better naming should be used. For example: sync_pipes_create (), sync_pipes_wait (), sync_pipes_notify(), other names will be good as long as they don't assume the caller is child or parent. Furthermore, since it is also suitable for being used in common test cases, moving  it outside the syscalls's directory to a more common place might be a good idea.
Renaud Lottiaux <Renaud.Lottiaux@kerlabs.com> noted:
I fully agree with your remarks. But if you want to make these functions more generic, it should be possible to call sync_pipe_wait / notify several times, which is not possible in the current code since I close file descriptors in these functions. A quite simple solution is to keep these file descriptors opened, and to add a function to close them or simply let these file descriptors being closed by libC or kernel at process end.
Signed-off-by: Roy Lee <roylee17@gmail.com>.

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Tue Apr 22 07:04:15 2008 UTC (7 months, 1 week ago) by subrata_modak
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7
This patch fixes a concurrency issue in ftruncate04. In the expected scenario, child should hold the lock of the file before parent access it. On a loaded system, however, the parent might access the file before the child, hence resulting in a unexpected 'open fail'. By, Roy Lee <roylee17@gmail.com>.

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Mon Aug 21 06:58:37 2006 UTC (2 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.6: +5 -13 lines
Diff to previous 1.6
standardize makefiles (punt UCLINUX/COLDFIRE cruft, build everything with -Wall and user-optimizations, remove pointless targets in favor of implicit ones, etc...)

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Mon Jul 11 22:28:20 2005 UTC (3 years, 4 months ago) by robbiew
Branch: MAIN
Changes since 1.5: +2 -0 lines
Diff to previous 1.5
Applied fixes by Paul J.Y. Lahaie to implement support for UCLinux

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Wed Mar 26 18:23:34 2003 UTC (5 years, 8 months ago) by robbiew
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4
warnings cleanup

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Tue Mar 4 16:15:34 2003 UTC (5 years, 9 months ago) by robbiew
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3
Applied Vasan Sundar's Makefile patches.

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Thu Feb 7 01:32:02 2002 UTC (6 years, 9 months ago) by robbiew
Branch: MAIN
Changes since 1.2: +1 -4 lines
Diff to previous 1.2
*** empty log message ***

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue Jan 29 20:48:09 2002 UTC (6 years, 10 months ago) by plars
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1
Separate make and make install

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Mon Aug 27 22:15:13 2001 UTC (7 years, 3 months ago) by plars
Branch: MAIN
restructuring work done, and adding about 400 testcases

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by: