Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   rillig
Date:           Mon Oct 18 20:18:00 UTC 2021

Modified Files:
        src/distrib/sets/lists/tests: mi
        src/tests/usr.bin/indent: Makefile t_options.sh
Added Files:
        src/tests/usr.bin/indent: label.c t_options.awk
Removed Files:
        src/tests/usr.bin/indent: label.0 label.0.pro label.0.stdout

Log Message:
tests/indent: extend tests for labels, extract test driver

Having the test driver in a separate file allows to run it on its own,
as 'awk -f t_options.awk label.c'. When the test driver warns, exit 1;
this is only needed for the standalone version, when run from inside ATF
the warnings on stderr already suffice to make the test fail in the end.


To generate a diff of this commit:
cvs rdiff -u -r1.1143 -r1.1144 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.18 -r1.19 src/tests/usr.bin/indent/Makefile
cvs rdiff -u -r1.2 -r0 src/tests/usr.bin/indent/label.0 \
    src/tests/usr.bin/indent/label.0.stdout
cvs rdiff -u -r1.1 -r0 src/tests/usr.bin/indent/label.0.pro
cvs rdiff -u -r0 -r1.1 src/tests/usr.bin/indent/label.c \
    src/tests/usr.bin/indent/t_options.awk
cvs rdiff -u -r1.7 -r1.8 src/tests/usr.bin/indent/t_options.sh

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