Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/tests/lib/libc/gen/posix_spawn



Module Name:    src
Committed By:   riastradh
Date:           Sun Mar 16 15:35:37 UTC 2025

Modified Files:
        src/tests/lib/libc/gen/posix_spawn: fa_spawn_utils.c fa_spawn_utils.h
            t_fileactions.c t_spawn.c t_spawnattr.c

Log Message:
tests/lib/libc/gen/posix_spawn: Spruce up a bit.

- KNF
- Don't touch files outside the test working directory.
- No need to pre-clean files -- atf gives us an empty tempdir.
- Use h_macros.h to simplify a lot of checks.
- Use names for enumerated arguments, not magic numbers.
- Check some more syscalls.
- Add include guard.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/gen/posix_spawn/fa_spawn_utils.c \
    src/tests/lib/libc/gen/posix_spawn/fa_spawn_utils.h
cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libc/gen/posix_spawn/t_fileactions.c
cvs rdiff -u -r1.11 -r1.12 src/tests/lib/libc/gen/posix_spawn/t_spawn.c
cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libc/gen/posix_spawn/t_spawnattr.c

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




Home | Main Index | Thread Index | Old Index