Subject: CVS commit: src/regress/sys/fs
To: None <source-changes@NetBSD.org>
From: Reinoud Zandijk <reinoud@netbsd.org>
List: source-changes
Date: 09/21/2006 01:27:32
Module Name:	src
Committed By:	reinoud
Date:		Thu Sep 21 01:27:32 UTC 2006

Modified Files:
	src/regress/sys/fs: Makefile
Added Files:
	src/regress/sys/fs/lseek: Makefile lseek.c

Log Message:
Add simple lseek() test on a standard file. Standard it runs on the
/var/log/messages file wich is most likely not interesting but the
regression test can work on every specified filingsystem by passing a file
on that filingsystem to it as argument.

It tests:
- initial position
- seeking absolute position
- seeking end
- seeking negative relative position

more can be added later.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/regress/sys/fs/Makefile
cvs rdiff -r0 -r1.1 src/regress/sys/fs/lseek/Makefile \
    src/regress/sys/fs/lseek/lseek.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.