Joel Sherrill
972a8dba72
2010-07-25 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* gxx01/gxx01.scn, gxx01/init.c: Add more testcases.
2010-07-25 14:53:37 +00:00
Joel Sherrill
cb87694407
2010-07-25 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libcsupport/src/gxx_wrappers.c: Free contents of key not key itself.
Kye pointer will never be malloc'ed.
2010-07-25 14:52:27 +00:00
Joel Sherrill
a5bbb06141
2010-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libcsupport/Makefile.am, libcsupport/src/termios_baud2num.c,
libcsupport/src/termios_num2baud.c: Use RTEMS associations to
simplify code and make easier for coverage.
* libcsupport/src/termios_baudtable.c: New file.
2010-07-24 16:12:49 +00:00
Joel Sherrill
bdf879323e
2010-07-23 Vinu Rajashekhar <vinutheraj@gmail.com>
...
* start/start.S: Replace the call to _return_to_monitor by
hlt instruction.
* startup/ldsegs.S: Remove the _return_to_monitor function.
2010-07-23 12:24:06 +00:00
Joel Sherrill
3364576344
2010-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
...
PR 1627/testing
* libfs/src/devfs/devstat.c:
2010-07-23 00:11:32 +00:00
Joel Sherrill
b28cb82e4f
2010-07-22 Bharath Suri <bharath.s.jois@gmail.com>
...
* devfs02/init.c, devfs02/devfs02.doc, devfs02/devfs02.scn,
devfs02/Makefile.am: New tests added
* devfs03/init.c, devfs03/devfs03.doc, devfs03/devfs03.scn,
devfs03/Makefile.am: New tests added
* devfs04/init.c, devfs04/devfs04.doc, devfs04/devfs04.scn,
devfs04/Makefile.am: New tests added
* Makefile.am, configure.ac: Changes to accommodate the above
newly added tests.
2010-07-22 11:54:10 +00:00
Joel Sherrill
59211c6616
2010-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* timer/timer.c: Do not do the indirect call if NULL.
2010-07-21 12:33:58 +00:00
Joel Sherrill
78da8ac396
2010-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac, termios06/init.c: Add initial tests for
XON/XOFF and VMIN/VMAX cases.
* termios07/.cvsignore, termios07/Makefile.am, termios07/init.c,
termios07/termios07.doc, termios07/termios07.scn,
termios08/.cvsignore, termios08/Makefile.am, termios08/init.c,
termios08/termios08.doc, termios08/termios08.scn: New files.
2010-07-19 13:54:47 +00:00
Joel Sherrill
efdc6987a7
2010-07-19 Bharath Suri <bharath.s.jois@gmail.com>
...
PR 1623/testing
* psx13/test.c, psx13/psx13.scn: New cases to improve coverage of
utime() and fpathconf().
* psxfile01/test.c, psxfile01/psxfile01.scn: New cases to improve
coverage of rmdir(), unlink(), mknod(), link(), open(), read(),
write().
* psxstat/test.c, psxstat/psxstat.scn: New case to improve
coverage of readlink().
2010-07-19 13:13:20 +00:00
Joel Sherrill
741343ad8e
2010-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac: Add tar test for error cases.
* tar03/.cvsignore, tar03/Makefile.am, tar03/init.c, tar03/tar03.doc,
tar03/tar03.scn: New files.
2010-07-19 13:12:40 +00:00
Joel Sherrill
e41e75def2
2010-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* stringto01/init.c, stringto01/stringto01.scn,
stringto01/stringto_test_template.h: Attempt to pick up a few more
error paths.
2010-07-19 13:10:48 +00:00
Joel Sherrill
24db9ba8bb
2010-07-17 Bharath Suri <bharath.s.jois@gmail.com>
...
PR 1622/testing
* psxchroot01/test.c, psxchroot01/psxchroot01.scn: Added two test
cases to completely cover chroot().
2010-07-16 19:19:09 +00:00
Joel Sherrill
917e4b4781
2010-07-16 Bharath Suri <bharath.s.jois@gmail.com>
...
PR 1617/testing
* spmountmgr01/init.c, spmountmgr01/spmountmgr01.scn,
spmountmgr01/spmountmgr01.doc: Added cases to exercise
mount-mktgt.c.
2010-07-16 15:01:11 +00:00
Sebastian Huber
b8e7e2f623
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/src/link.c: Do not overwrite errno with return status.
2010-07-16 09:24:51 +00:00
Sebastian Huber
320fe72c1f
2010-07-16 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
...
* psxfile01/test.c: Avoid NULL pointer access.
2010-07-16 09:23:42 +00:00
Sebastian Huber
89b85e5100
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* rtems/score/cpu.h: Include <rtems/score/types.h> first.
* rtems/score/types.h: Use <rtems/score/basedefs.h> header file.
2010-07-16 08:46:29 +00:00
Sebastian Huber
af16a7d29a
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* rtems/new-exceptions/cpu.h: Removed file.
* Makefile.am, preinstall.am: Reflect change above.
* rtems/score/cpu.h: Include <rtems/score/types.h> first. Added
contents of <rtems/new-exceptions/cpu.h>.
* rtems/score/types.h: Use <rtems/score/basedefs.h> header file.
2010-07-16 08:45:02 +00:00
Sebastian Huber
9f9a82bdce
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* score/include/rtems/score/basedefs.h: New file.
* score/Makefile.am, score/preinstall.am: Reflect change above.
* score/include/rtems/score/percpu.h: Include <rtems/score/cpu.h>.
* score/include/rtems/system.h: Moved definition of SCORE_EXTERN,
SAPI_EXTERN, RTEMS_EXTERN, POSIX_EXTERN, RTEMS_INLINE_ROUTINE,
RTEMS_COMPILER_MEMORY_BARRIER, RTEMS_COMPILER_NO_RETURN_ATTRIBUTE,
RTEMS_COMPILER_DEPRECATED_ATTRIBUTE, TRUE, and FALSE to
<rtems/score/basedefs.h>.
Removed include of <rtems/score/cpu.h>, <stdint.h> and <stddef.h>.
2010-07-16 08:31:34 +00:00
Sebastian Huber
17ecd5a06f
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libmd/md4.c: Removed definition of TRUE and FALSE.
2010-07-16 07:45:18 +00:00
Joel Sherrill
e77a193482
2010-07-15 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libcsupport/src/privateenv.c: Fix bug.
2010-07-15 21:31:10 +00:00
Joel Sherrill
bbe6a5fe81
2010-07-15 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
...
PR 1607/cpukit
* score/src/coremutexsurrender.c: Clean up and split out helper
routines.
2010-07-15 15:44:40 +00:00
Joel Sherrill
947015fbf3
2010-07-15 Bharath Suri <bharath.s.jois@gmail.com>
...
PR 1617/testing
* psxfile01/test.c, psxfile01/psxfile01.scn: Added new cases to
exercise_link_r and _unlink_r
* psxstat/test.c, psxstat/psxstat.scn: Added new cases to exercise
_lstat_r and _stat_r.
* psxtime/test.c, psxtime/psxtime.scn: Added new cases to exercise
_gettimeofday.
2010-07-15 13:59:25 +00:00
Joel Sherrill
66ed5ff777
2010-07-15 Bharath Suri <bharath.s.jois@gmail.com>
...
PR 1617/testing
* malloctest/init.c: Added new case to exercise _realloc_r.
2010-07-15 13:54:54 +00:00
Joel Sherrill
c275f71b39
2010-07-15 Bharath Suri <bharath.s.jois@gmail.com>
...
PR 1617/testing
* spmountmgr01/init.c, spmountmgr01/Makefile.am,
spmountmgr/.cvsignore, spmountmgr01/spmountmgr01.doc,
spmountmgr01/spmountmgr01.scn: New test which improves coverage
of mount-mgr.c under libcsupport.
* Makefile.am, configure.ac: Changes to accommodate the new test.
2010-07-15 13:53:28 +00:00
Sebastian Huber
be4e3d6fbc
2010-07-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* malloctest/init.c: Added test for
rtems_heap_allocate_aligned_with_boundary().
2010-07-15 13:36:25 +00:00
Sebastian Huber
d0ef58ad74
2010-07-16 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
...
* psxstat/test.c: Avoid NULL pointer access.
2010-07-15 12:15:56 +00:00
Sebastian Huber
f4dea06bab
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libfs/src/imfs/imfs.h: Changed IMFS_jnode_types_t to an enum.
Removed IMFS_NUMBER_OF_TYPES define.
* libfs/src/imfs/imfs_debug.c: Removed IMFS_types.
2010-07-15 08:59:46 +00:00
Sebastian Huber
de39b5127d
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/include/rtems/libio_.h: Removed rtems_filesystem_null_handlers.
* libcsupport/src/fs_null_handlers.c: Removed file.
* libcsupport/Makefile.am: Reflect change above.
* libfs/src/nfsclient/src/nfs.c, libfs/src/imfs/imfs_creat.c,
libfs/src/imfs/imfs_init.c, libfs/src/imfs/miniimfs_init.c: Use
rtems_filesystem_handlers_default instead of
rtems_filesystem_null_handlers.
* libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c:
Initialize handler and operations table with proper defaults.
2010-07-15 08:46:06 +00:00
Sebastian Huber
fd2b1634bb
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/include/rtems/libio.h: Removed file_info and handlers
fields in rtems_libio_t.
* libcsupport/src/close.c, libcsupport/src/fcntl.c,
libcsupport/src/fdatasync.c, libcsupport/src/fstat.c,
libcsupport/src/fsync.c, libcsupport/src/ftruncate.c,
libcsupport/src/getdents.c, libcsupport/src/ioctl.c,
libcsupport/src/libio_sockets.c, libcsupport/src/lseek.c,
libcsupport/src/open.c, libcsupport/src/read.c,
libcsupport/src/readv.c, libcsupport/src/write.c,
libcsupport/src/writev.c, libfs/src/devfs/devclose.c,
libfs/src/devfs/devioctl.c, libfs/src/devfs/devopen.c,
libfs/src/devfs/devread.c, libfs/src/devfs/devwrite.c
libfs/src/dosfs/msdos_dir.c libfs/src/dosfs/msdos_file.c
libfs/src/imfs/deviceio.c libfs/src/imfs/imfs_directory.c
libfs/src/imfs/imfs_fifo.c libfs/src/imfs/memfile.c
libfs/src/nfsclient/src/nfs.c libfs/src/rfs/rtems-rfs-rtems-file.c
libfs/src/rfs/rtems-rfs-rtems.h libnetworking/lib/ftpfs.c: Reflect
changes above.
2010-07-15 08:10:48 +00:00
Sebastian Huber
106d8f5e74
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_node_type.c: Fixed
devFS_node_type() prototype.
2010-07-15 07:59:57 +00:00
Sebastian Huber
0266c0e859
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* score/include/rtems/seterr.h: Include <errno.h>.
2010-07-15 07:40:28 +00:00
Sebastian Huber
1e01385ff0
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/include/rtems/libio.h: Changed
rtems_filesystem_node_types_t to an enum. Declare
rtems_filesystem_handlers_default,
rtems_filesystem_operations_default,
rtems_filesystem_default_evalpath(),
rtems_filesystem_default_evalformake, and
rtems_filesystem_default_node_type().
* libfs/src/dosfs/msdos.h: Fixed msdos_node_type() prototype.
* libfs/src/defaults/default_evalformake.c,
libfs/src/defaults/default_handlers.c,
libfs/src/defaults/default_node_type.c,
libfs/src/defaults/default_ops.c: New files.
* libfs/Makefile.am: Reflect changes above.
2010-07-15 07:36:37 +00:00
Joel Sherrill
216715075b
2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac: Add new test to exercise devFS_Show().
* devfs01/.cvsignore, devfs01/Makefile.am, devfs01/devfs01.doc,
devfs01/devfs01.scn, devfs01/init.c: New files.
2010-07-14 23:53:49 +00:00
Joel Sherrill
8911ffd33f
2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac: Add new test to exercise
malloc_get_statistics().
* malloc05/.cvsignore, malloc05/Makefile.am, malloc05/init.c,
malloc05/malloc05.doc, malloc05/malloc05.scn: New files.
2010-07-14 23:29:45 +00:00
Joel Sherrill
830c6eee8e
2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
PR 1535/tests
* malloc04/init.c, malloc04/malloc04.scn: Address issues in test. A mix
of work by Ralf and Joel.
2010-07-14 23:23:12 +00:00
Joel Sherrill
ba959a4b1c
2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* spprintk/init.c, spprintk/spprintk.doc, spprintk/spprintk.scn: Clean
up and add test of getchark().
2010-07-14 23:17:48 +00:00
Joel Sherrill
fa1269216a
2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* spfatal21/Makefile.am: Fix typo.
2010-07-14 17:03:36 +00:00
Joel Sherrill
be8bdff62b
2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* support/include/test_support.h, support/src/test_support.c: Add
Allocate_majority_of_heap().
2010-07-14 16:03:57 +00:00
Joel Sherrill
16d1bd349b
2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac: Add tests for sbrk fatal error case and
libio initialization fatal error case.
* spfatal21/.cvsignore, spfatal21/Makefile.am, spfatal21/spfatal21.doc,
spfatal21/spfatal21.scn, spfatal21/testcase.h, spfatal22/.cvsignore,
spfatal22/Makefile.am, spfatal22/spfatal22.doc,
spfatal22/spfatal22.scn, spfatal22/testcase.h: New files.
2010-07-14 16:02:40 +00:00
Joel Sherrill
8cd0bb0f00
2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* termios01/init.c, termios01/termios01.scn: Fully exercise tcsetattr.
2010-07-14 15:59:37 +00:00
Joel Sherrill
f4a74bd064
2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libnetworking/rtems/rtems_syscall.c: Fix warning.
2010-07-14 15:49:12 +00:00
Joel Sherrill
8f7b8f7bb2
2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libfs/Makefile.am: Remove reference to imfs_free.c,
wrapup/Makefile.am: Split devfs into its own library.
* libfs/src/imfs/fifoimfs_init.c, libfs/src/imfs/imfs.h,
libfs/src/imfs/imfs_init.c, libfs/src/rfs/rtems-rfs-rtems.c:
Use default freenode implementation.
* libfs/src/imfs/imfs_free.c: Removed.
2010-07-14 15:44:44 +00:00
Joel Sherrill
a7202f6a17
2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
PR 1612/networking
* ChangeLog, libcsupport/src/libio_sockets.c: Sockets need to have
handlers in place. Null is no longer allowed.
2010-07-14 15:01:00 +00:00
Sebastian Huber
9688f46656
2010-07-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* spintrcritical06/init.c: Switch semaphore obtain timeouts of
variants. Cleanup.
* spintrcritical05/spintrcritical05.scn,
spintrcritical06/spintrcritical06.scn,
spintrcritical07/spintrcritical07.scn,
spintrcritical11/spintrcritical11.scn,
spintrcritical12/spintrcritical12.scn,
spintrcritical13/spintrcritical13.scn,
spintrcritical14/spintrcritical14.scn: Update.
2010-07-14 07:33:56 +00:00
Joel Sherrill
dd38f3d9d0
2010-07-13 Vinu Rajashekhar <vinutheraj@gmail.com>
...
PR 1614/filesystem
* libfs/src/imfs/fifoimfs_init.c, libfs/src/imfs/imfs.h,
libfs/src/imfs/imfs_load_tar.c: Fix rtems_tarfs_load to work with
pipe filesystem.
2010-07-13 21:43:32 +00:00
Joel Sherrill
b05cc32958
2010-07-12 Bharath Suri <bharath.s.jois@gmail.com>
...
PR 1613/testing
* psxfchx01/init.c, psxfchx01/Makefile.am, psxfchx01/.cvsignore,
psxfchx01/psxfchx01.doc, psxfchx01/psxfchx01.scn: New
tests. Improves coverage of fchdir, fchmod, fchown directives.
* configure.ac, Makefile.am: Changes to accommodate new test.
* psxstat/test.c, psxstat/psxstat.scn: Added new test case to test
statvfs routine under libcsupport.
2010-07-13 21:13:13 +00:00
Jennifer Averett
5ec75caa66
2010-07-12 Jennifer Averett
...
* libnetworking/rtems/rtems_syscall.c: Replaced null socket handlers
with default handlers. Null handlers are no longer allowed.
2010-07-12 13:51:59 +00:00
Ralf Corsepius
72f9fbfbc1
Regenerate.
2010-07-12 03:54:46 +00:00
Ralf Corsepius
f96023930e
Regenerate.
2010-07-11 20:20:21 +00:00
Ralf Corsepius
9e421af1f4
Bump GCC_RPMREL.
2010-07-11 20:20:00 +00:00