Linux Test Project / News: Recent posts

The Linux Test Project February Release Announcement

The Linux Test Project test suite <http://www.linuxtestproject.org> has been released. The latest version of the testsuite

contains 2900+ tests for the Linux OS. Our web site also contains other information such as:

- A Linux test tools matrix
- Technical papers
- How To's on Linux testing
- Code coverage analysis tool.

We encourage the community to post results to ltp-results@lists.sf.net, and patches, new tests, or comments/questions to ltp-list@lists.sf.net... read more

Posted by mreed 2007-03-01

The Linux Test project ltp-2006122 Released

The Linux Test Project test suite <http://www.linuxtestproject.org> has
been released. The latest version of the testsuite contains 2900+ tests
for the Linux OS. Our web site also contains other information such as:
- A Linux test tools matrix
- Technical papers
- How To's on Linux testing
- Code coverage analysis tool.

We encourage the community to post results to ltp-results@lists.sf.net,
and patches, new tests, or comments/questions to ltp-list@lists.sf.net... read more

Posted by mreed 2006-12-23

Linux Test Project November Release Announcement

The Linux Test Project test suite <http://www.linuxtestproject.org> has
been released. The latest version of the testsuite contains 2900+ tests
for the Linux OS. Our web site also contains other information such as:
- A Linux test tools matrix
- Technical papers
- How To's on Linux testing
- Code coverage analysis tool.

Release Highlights:
Code Cleanups by Darrick Wong, Mike Frysinger, Jacky Malcles, Jane Lv
Michael Reed... read more

Posted by mreed 2006-11-21

Linux Test Project October Release Announcement

The Linux Test Project test suite <http://www.linuxtestproject.org> has
been released. The latest version of the testsuite contains 2900+ tests
for the Linux OS. Our web site also contains other information such as:
- A Linux test tools matrix
- Technical papers
- How To's on Linux testing
- Code coverage analysis tool.

Release Highlights:
Code Cleanups by Yi Xu, Jeff Burke, Darrick Wong, Mike Frysinger, Michael Reed ... read more

Posted by mreed 2006-10-17

Linux Test Project September Release Announcement

The Linux Test Project test suite <http://www.linuxtestproject.org> has
been released. The latest version of the testsuite contains 2900+ tests
for the Linux OS. Our web site also contains other information such as:
- A Linux test tools matrix
- Technical papers
- How To's on Linux testing
- Code coverage analysis tool.

Release Highlights:
Code Cleanups by Yi CDL Yang, Jeff Baily, Mitsuru Chinen, Jacky Malcles, Jane Lv, Mike Frysinger, Michael Reed... read more

Posted by mreed 2006-09-18

Linux Test Project August Release Announcement

The Linux Test Project test suite <http://www.linuxtestproject.org> has
been released. The latest version of the testsuite contains 2900+ tests
for the Linux OS. Our web site also contains other information such as:
- A Linux test tools matrix
- Technical papers
- How To's on Linux testing
- Code coverage analysis tool.

Release Highlights:

- Code Clean ups by Mike Frysinger, Mitsuru Chinen, and Jeff Bailey... read more

Posted by mreed 2006-08-22

[LTP] [ANNOUNCE] The Linux Test project ltp-20060717 Releas

The Linux Test Project test suite <http://www.linuxtestproject.org> has
been released. The latest version of the testsuite contains 2900+ tests
for the Linux OS. Our web site also contains other information such as:
- A Linux test tools matrix
- Technical papers
- How To's on Linux testing
- Code coverage analysis tool.

Release Highlights:

* Code Cleanups by Will Newton, Jacky Malcles, Andy Echols, Amit K.
Amora, Mike
Frysinger, Mitsuru Chinen, and Liang Shuang... read more

Posted by mreed 2006-07-17

Linux Test Project May Release Announcement

LTP-20060515
-Added a -e option to print out the date of the ltp release. Also
the date of the version of LTP will be printed in log files.
-A patch for parse_opts.c was removed because it caused several test cases to fail
-Added a patch from Jacky Malcles to correct typos in ltp-aiodio.sh
-Added a patch from Jacky Malcles to fix aiodio_append.c
-Added a patch from Bibo Mao that fixes setrlimit03
-Added a patch that fixes file_test.sh.
-Added a patch that fixes gethostid01
- Patches submitted by Thomas Gleixner to initialize interval values in setitimer03
-A problem that was reported by Jane Lv, mmap() returns an unsigned value (MAP_FAILED) upon error, so checking with <= 0 will not work was fixed in link04.c, lstate02.c mkdir01, mkdir03, mknod06, open08 read02.c rmdir06.c stat03.c statfs03 symlink03.c sysfs06.c truncate03.c uplink07.c write03.c and writev01.c - writev05.c... read more

Posted by mreed 2006-05-16

LTP Testsuite April Release

The Linux Test Project test suite <http://www.linuxtestproject.org> has been released. The latest version of the testsuite contains 2400+ tests for the Linux
OS. Our web site also contains other information such as:
test results, a Linux test tools matrix, technical papers and How To's on Linux testing, and a code coverage analysis tool.

Release Highlights:

*Code Cleanups by Jacky Malcles, Jane Lv, Joe Pearson, Nick Pollitt and Thomas Gleixner, Joy Latten,
and Lin Feng Shen... read more

Posted by mreed 2006-04-11

Linux Test Project March Release Announcement

<pre>
LTP-20060306
- Applied an update to allow people to automatically declare the CREATE variable in IDcheck.sh.
- export a bunch of settings by default that since they are harmless
- allow people to store custom settings in config.mk
- move rec_signal/send_signal out of zoolib.h and into pan.c since only pan.c uses them and more than just pan.c includes zoolib.h
- Fix from Jackie Malcles, no such file or directory error
- make sure clean descends into the templates dir
- cleanup CRLFs from end of lines,
- fix dependency tracking so targets arent rebuilt all the time
- Applied LDFLAG cleanup patch from Mike Frysinger.
- set default Debug level to off
- fix warning: growfiles.c:357: warning: unused variable `opterr'
- use errno.h instead of doing extern int errno
- cut extraneous newlines from test output
- kill off unused strings msg1 and msg2
- cleanup test output by adding a lot more useful debug info
- use proper test output routines rather than homebrewed printf statements
- use proper tst_* functions for output
- fix for defect 21622, insufficient timeout value
- tighten up uClinux disabled messages
- fixes by Jane Lv to disable EFAULT related tests on uClinux
- cleanup debug output that shouldnt be shown at normal runtime
- make the -F option a bit smarter
- remove extraneous output and improve output when we do issue messages
- Jane Lv writes: I have patched flock03.c and sched_setparam05.c to replace fork() by vfork() on uClinux.
- calculate TST_TOTAL based upon the number of elements in the test array instead of hardcoding the value
- use TFAIL instead of TINFO to report test failures in getcwd02
- fix test on x86_64 and make error output a bit more helpful in gettimeofday
- New Memory mapping testcases.
- Jane Lv writes: use FORK_OR_VFORK() instead of fork() so this stuff works on uClinux
- need to define _GNU_SOURCE before including features.h or sigset prototype is missed
- patched flock03.c and sched_setparam05.c to replace fork() by vfork() on uClinux.
- use syscall() instead of _syscall2() to improve portability
- define INVALID_ADDRESS to get rid of warnings on 32bit hosts and make it more sane in general
- Fix for defect 21134, look for syslog-ng instead of syslogd on some systems.
- if a test failed as a non-root user and the reason was EPERM, then mark the test as PASS, not FAIL
(security-minded kernels often restrict kernel buffer access for non-root users)
- fix test on 64bit hosts in syslog12... read more

Posted by Martin Ridgeway 2006-03-06

Linux Test Project February Release Announcement

<pre>
LTP-20060207
- Added new fcntl() test contributed by Jacky Malcles to test opening with O_WRONLY
- Fix typo in nfs run script, nfs03 ran twice instead nfs04
- Added the LTP's Database Opensource Test Suite to the testsuite.
- Applied patch from Mike Frysinger that disables ballista if no perl
is installed on the system and fixes the clean target.
- Applied LDFLAG fix from Mike Frysinger
- Applied patch from Mike Frysinger to ensure Makefile properly respect CFLAGS/LDFLAGS
- fixed some RH/Suse specific messages
- Updates for mmc security tests
- Updates for device driver testsuites from Amit Khanna (Intel)
- Applied memory leak fix in fsx-linux.c
- Fix for uClinux to fix execute error
- Fix to prevent not enough (pages) dups error in some cases
- Applied patch from Jacky Malcles: during its life fcntl23 has changed:
used to open the file with O_RDWR and now is opening with O_RDONLY
- Added new fcntl() test contributed by Jacky Malcles to test opening with O_WRONLY
- Fixed gethostid01 so the second 64 bit check doesn't clobber the first 64 bit check by using a bitmask
- fix for defect 21050, the logic on line 211 was reversed causing the 64bit code to get run on a 64bit system
- Fixes for uClinux to fix fork and invalid memory access errors
- Fix for defect 21072, fixing the offset on some systems
- Applied patch from Mike Frysinger to resolve issue with UNALIGNED being defined multiple times for ARM targets.
- Patch to fix race condition on 64bit systems, fixes bugzilla 19013
- Fix for defect 21046, testcase should fail ENOMEM passes due to insufficient pages
- Applied patch from Jane Lv to disable test for uClinux.
- Fix for defect 21065, the kernel changed the return for tests 4 & 9. Added dual tests on failure so new/old kernels should both pass
- Fix to get rid of ugly messages during the make
- Fix for defect 21068, check for the existance of either syslogd or syslog-ng before failing and reporting an error
- Applied patch from Mike Frysinger to resolve problem with defining a local syslog() function when the tests are built statically.
- Fix for defect 20348, waitpid12 hangs occasionally
- Applied patch from Jeff Burke:
Here is a patch that modifies the following files:
testcases/network/nfsv4/acl/acl1.c - Fix for segfault in a printf.
testcases/network/nfsv4/acl/create_users.py - Fix for help syntax
(backwards -u users -g groups).
testcases/network/nfsv4/acl/runtest - Fix for useradd command and also
a echo command.
testcases/network/nfsv4/acl/test_long_acl.py - Fix for output, the #
of entries was munged with the word entries.
- Add sctp testcase updates
- Initial drop of pounder21 testsuite... read more

Posted by Martin Ridgeway 2006-02-07

Linux Test Project December Release Announcement

<pre>
LTP-20051205
- New networkStress testcase files
- Security test updates for cleanup and testcase improvements
- New nfsV4 testsuite
- Updates for nfsV4 testsuite
- Updates for open_hpi_testsuite
- Corrected out of memory error msg in ltpstress.sh
</pre>

Posted by Martin Ridgeway 2005-12-06

Linux Test Project November Release Announcement

<pre>
LTP-20051103
- fix from Bryce Harrington to corect a Makefile and path problem on some systems
- Updated aiocp to the latest level. See http://developer.osdl.org/daniel/AIO/
- Corrected a logical typo in the mmapstress test found by John Clemens:
- Changes for cleanup of digsig testcases
- Applied patch from Jacky Malcles to allow the test to execute correctly with
the new 2.6 kernel.
- Fix for defect failure in fcntl23.c to lock readonly file, changed to open file RDONLY
- Fix gethostid01 to return correct code in 64 bit mode
- fix madvise01 testcase error where it may not run out of memory
- Applied patch [ ltp-Bugs-1168107 ] from Shyam Chandrasekaran:
- Fix bug in settimer01.c
- Fix write04.c to work on ia64
- Cleanup to not include redundant sys/socket.h after linux/socket.h
- Add NetworkStress testcases from IBM Japan... read more

Posted by Martin Ridgeway 2005-11-03

Linux Test Project October Release Announcement

<pre>
LTP-20051005
- this patch touchs up the output of ver_linux if gcc, fdformat, or mount is missing
- New testcases for tpm
- Fix compile error with strsep on some systems.
- Add a missing include file and corrects an fprintf
format type to eliminate warning messages. It also performs some minor
whitespace cleanup.
- patch attached fixes it so writetest is rebuilt whenever writetest.c is updated
- patch typecasts in writetest - the values given to printf to (long long int)
- patch initializes some uninitialized variables and adds a
return statement (non-void function) to eliminate warning messages.
- patch process.c adds a missing include file, function return types
and returns, cleans up structure initializations, and removes unused
variables to eliminate warning messages. The debug print macro is also
modified to handle a variable number of arguments.
- patch basically stubs out the GetContext function for uClibc and allows for any
other system to be added accordingly since uClibc doesn't provide the function
on later builds.
- Added code to check whether or not "ffffffff" is returned on some 64bit
machines.
- Fix for defect 17215 in nanosleep02
- patch adds a missing include file, function return types
and returns, and typecasts some variables to eliminate warning messages.
GNU_SOURCE is also added to CFLAGS in the makefile, since otherwise
the 'pselect' declaration is not found in some build environments.
- Fix for defect 17723 pTrace01.c
- patch adds missing include files and declares return types
to eliminate warning messages for setfsuidxx.c
- TEST_ERRNO fix to display as a long int.
- Change sigrelse01 tests to eliminate duplicate function prototypes.
- Change to sigrelse01 to use time.h vs define in program.
- Fix for defect 17974, Strace/Ptrace hangs
- patch adds missing include files, function prototypes and
returns, and removes unused variables to eliminate warning messages.
It also corrects some sprintf format warnings and replaces 'abortx' with
a version that accepts a variable number of arguments.
- The "generate.sh" script was mistakenly removed...added it back.
- Updates to check for connection failure vs unauthorized access fail in ftp02_s1, ftp03, ftp04, ftp05
- Cleanup - Removed the datafile directory, because this is created using the generate.sh
script..which is called in the Makefile... read more

Posted by Martin Ridgeway 2005-10-05

Linux Test Project Sept Release Announcement

<pre>
LTP-20050907
- Added test for statvfs()
- Applied a load of patches submitted to the mailing list by Gentoo's Mike Frysinger
- Applied patch from Erik Andersee:
if __NR_fremovexattr isnt defined by the current linux headers,
acl_file_test.c will fail to build
- Relocated getcontext() test from getcontext01 to just getcontext.
Also added the directory to the list of tests not ran on uclinux.
- Applied patch to madvise02 for tmp memory
- Applied patch to mallopt01 to fix logging error.
- fix for defect 17723, change sleep to an at least vs an exact amount
- Correct testcase return on RHEL 3 & 4 2.6.13-rc6-mm1
- Applied IA64 patch received from Jacky Malcles to write03-04
- Added -n option to allow disabling networking stress to ltp-stress... read more

Posted by Martin Ridgeway 2005-09-07

Linux Test Project August Release Announcement

<pre>
LTP-20050804
- Applied fix from Greg Edwards for 64bit execution.
- self_exec magic required to run child functions on uClinux
- Applied patch from Mike Frysinger:trying to do a build on uClibc will abort in lib/tlibio.c because we dont
provide aio.h find attached a patch which updates the check to include UCLIBC alongside
UCLINUX
- remove call to create.sh script that checks for obscure c++ rpms
- remove all references to and creation of non-std /usr/local/bin/perl5
- fix ballista.cpp to not core dump with std c++ lib
- fix to add librt to MakefileTarget for running aio_suspend test:missing clock_gettime on linux
- remove printf.h and stdio.h from testcases/commands/ade/ld/rd1.c.
- Change to fix the addition of 2 minutes without going over 60 for the seconds
- patch to fix up the install target in disktest to match the install targets of everything else
- patch to fix writetest Makefile to not always rebuild the writetest binary
regardless of whether you ran `make` or `make install` or whatever
- newer toolchains complain about redefining 'log' since it's a math function
provided by the libc find attached a simple patch to rename the 'log' variable in
testcases/kernel/ipc/ipc_stress/message_queue_test_04.c to 'logit'
- when running make in silent mode (make -s) the verbose mode of AR 'gets in the
way' attached patch drops the -v and adds -c so that ar wont display the 'ar:
creating blah.a' message either
- the current mallocstress.c emits a warning about newsize being used
uninitialized because gcc doesnt detect the abort(0) path
find attached a simple patch to prevent the warning from being issued
- Running nptl01 can fail if the test lasts longer than 300 seconds, patch to lower interations to 100000.
- Fixed clone04 to return correct failure code.... read more

Posted by Martin Ridgeway 2005-08-04

Linux Test Project July Release Announcement

<pre>
LTP-20050707
- Applied fixes by Paul J.Y. Lahaie to implement support for UCLinux
- suppresses the warning "head: `-1' option is obsolete; use `-n 1'..."
- Updated the TEST() macro to return long, instead of int for use with 64bit architectures.
- Removed umount04.
- Security updates for ppc and 390 systems
- The K42 open source operating system bug fix for panic when alarm is cancelled.
- Applied some zSeries specific patches.
- Applied patches to allow NFSv4 testing:
- Define gettid() to syscall(__NR_gettid).
</pre>

Posted by Martin Ridgeway 2005-07-12

Linux Test Project June Release Announcement

<pre>
LTP-20050608
- Added test for getcontext()
- Added additional test for mlockall().
- Added getdtablesize() test.
- Added pselect01 test.
- Added new fcntl tests to scenario.
- fs_inod - Raised the maximum file size for the random setting to 500Mb.
- upgrade disktest to version 1.2.8
- Clearify the comment explaining the second call to alarm() in
testcases/kernel/syscalls/alarm/alarm06.c
- Corrected a bug in fcntl24.c and added new tests fcntl25, fcntl26, and fcntl27.
- Change to 1024 default if IO_BITMAP_BITS not defined
- Applied fix for conditions where ENOMEM test scenarios were failing.
- mlockall03 is a Test for checking basic error conditions for mlockall(2)
starting from linux 2.6.9
- NGROUPS_MAX defined in limits.h is not the max number of groups in the
system, it the max number guaranteed. Thus, if the system actually
allows more, the test case doesn't produce the expected failure.
- test3 in setrlimit02.c:Test attempts to increase hard limit of RLIMIT_NOFILE resource.
The rlim_max used by setrlimit() is expected to be greater than current hard limit to get EPERM.
- nfsstress - Corrected so the test can find gettid()'s definition.
- PTS Version 1.5.1 Released
- Removed old version of Open POSIX Test Suite (OPTS).
- Updated the open_posix_testsuite:
</pre>

Posted by Martin Ridgeway 2005-06-08

Linux Test Project May Release Announcement

LTP-20050505
- Added DBAT testsuite, limited LTP tests for build verification - runltplite
- fix the bug on test table selinux when run the ltpmenu.
- Added new getpagesize() test.
- New test creates a data file of specified or random size and copies
the file to a random directory depth on a designated filesystem.
The two files are compared and checked for differences.
- Make nptl01 timeout and report failure rather than just hanging in the event of a fail.
- Moved SELinux testsuite from misc to the kernel/security directory.
- acct01 - Updated test to allow for execution on zSeries machines.
- ioperm01 - Fixed bug will cause ioperm01 receive SEGV and report "BROK" instead of "FAIL" when this test failed.
- nfs04 - use 'cmp' instead of 'diff' because I think byte comparison is better for the type of file created for this test.
- Fixed ftp01 and telnet01 seems designed to run with non-root user connection
when the user name is set to RUSER environment variable.
However, it is incomplete.ftp01 creates a directory whose permission is root.
So, non-root user cannot write in the directory.
telnet01 always consider the prompt is '#'

Posted by Martin Ridgeway 2005-05-05

Linux Test Project April Release Announcement

<pre>
LTP-20050405
- Fixed '-d' option to runltp.sh
- Added optional ltp (fivextra) extended testsuite
- Added digital signiture testcases from the security team
- Applied patch from Gernot Payer to fix, mincore01, shmget02, capset02
- Applied suggested check from Carl van_Schaik to clone02.
- Added seLinux testsuite from security team and Stephen Smalley.
- Added NFS cthon04 tests needed files.... read more

Posted by Martin Ridgeway 2005-04-05

Linux Test Project March Release

<pre>
LTP-20050307
- Added -v option to LTP, fixed -s option
- Removed fcntl16 until testcase can be fixed/changed.
- Fix for defect 14136, growfiles expanding a file past the 2G limit on ext2
- Applied patch from Marcus Meissner for SF bug #1114114
- Applied patch from David Miller for sigaction problems
- Applied a patch from Suzuki Kp to resolve some race/signal handling conditions
- In adapting specific LTP tests to uClinux running on Analog Devices'
Blackfin processor, we found a problem in mount01 where malloc was not
reserving space for the trailing null byte and strncpy was being called
without enough bytes to account for the trailing null byte. The
following patch fixes the problem
- Increased USER_PRECISION to 2200 to take into account the processes switching time nanosleep02
- The attached patch fixes a swapon cross compile build error I ran into
recently. I verified that RH9 self hosted and cross compile builds now
- Removed the include of <asm/atomic.h> back out. Most distros and kernels
can build and execute the test without it now.
- Change for defect 13778, when the /var/log/messages file is first moved, the first write fails
- The SIGINT sighandler will set the "intinitr" flag to 1 for the children. But if the
"runtime" is small( a command line argument passed, the testcases were running
for 5 secs here), it may happen that the SIGINT may be recieved before the
child initialize the flag to 0, and which may lead to a hang
- Change to exclude lib6 directory from default build since it breaks earlier Distros
- Added code to handle cases where certain distros don't define AI_V4MAPPED in /usr/include/netdb.h
</pre>

Posted by Martin Ridgeway 2005-03-07

Linux Test Project February Release Announcement

<pre>
LTP-20050207
- runltp now exports $TMPDIR as a copy of $TMP, certain exceptions caused these to be different.
- extra functions for LTP libs are to make these tests fail with a more
informative message when attempts to create swap on tmpfs are made.
- IPV6 testcase updates from David Stevens
- Applied patch from Jacky Malcles that fixes an inconsistency regarding synchronization.
- Make proc01 skip kcore
- Fix gives an hint to the probable solution if capset01 test fails
- Fix for race conditions in synchronization between children and parent on fcntl15.
- Applied patch from Jacky Malcles to allow test to run on ia64.
- The test llseek sets RLIMIT_FSIZE to a small number, this fix to
restore it to its original value.
- Fix IPV6 Makefile install path problem... read more

Posted by Martin Ridgeway 2005-02-07

Linux Test Project January Release Announcement

<pre>
LTP-20050107
- Porting changes from John Kohl to help support compatablility LTP on Solaris, HP-UX and AIX.
- Add scsi virtual devices testsuite using scsi_debug
- Changes to fix defect 13205 - testcase (seg fault) fails when MALLOC_CHECK_=3 environment varible is turned on .
Removed test for ppc64 as special exception, now passes child_stack+CHILD_STACK_SIZE as parameter to clone on ppc64
- Applied patch from Prashant Yendigeri that fixes execution path problem.
- Fix for defect 11968 - test seg faults on a SMP system (8-way)
- Removed a prior applied patch from getdents01, that broke the testcases.
- Applied patch from Ricky Ng-Adam to fix ioperm01 testcase.
- Applied patch from Jacky Malcles for madvise02.
- Applied fixes to error messages from Adam Lackorzynski.waitpidXX
- Applied cleanup patch from Prashant Yendigeri for writexx testcases.... read more

Posted by Martin Ridgeway 2005-01-07

Linux Test Project December Release Announcement

<pre>
LTP-20041203
- Change to fix file creation error on certain filesystems.
- gf15 and gf18 failed on both 32-bits and 64-bits,
Growfile used lseek and fstat to operate file. When file grows
beyond 4G,lseek and fstat would fail on 32-bits machine.
- Added fs-bench by Hironobu SUZUKI and additional JFFS
testscript by G.BANU PRAKASH.
- Added mongo filesystem test by namesys and additional testscript from G.BANU PRAKASH.
- Applied patch from Jacky Malcles to allow test to run on IA64.
- settimeofday01 fails on some platforms(ia64,41611 x86-64) occasionally.
The testcase did not consider the situation when CONFIG_TIME_INTERPOLATION is enabled.
- Remove case from password query since the distros use both upper and lower case P/p.... read more

Posted by Martin Ridgeway 2004-12-03

Linux Test Project November Release Announcement

<pre>
LTP-20041105
- Added extensive syscall testsuite (Ballista)
- Added new tests to EPoll testsuite
- Applied long path name patch from Michael Vieths
- Removed the requirement to have "." listed as the first directory, since it is not a documented requirement.
- GetDents01 - Used _syscall3() to allow this test to run on non-x86 archs.
- Applied message formatting patch from Gordon Jin.
- Applied IA64 specific patch from Jacky Malcles.
- Fixes from Chris Wright for swapon02 failures
- Restored the compile settings for Linux2.4/GLIBC2.2 and created a new one for Linux/GLIBC2.3 Removed -fwritable-strings
and -DGLIBC=22 flags from compile.
- Applied a patch from Zhao Kai that added a pause to allow for testing on installations with improved PAM security.
</pre>

Posted by Martin Ridgeway 2004-11-05