Module Name: src Committed By: snj Date: Tue Jul 5 19:03:31 UTC 2016
Modified Files: src/bin/cat [netbsd-7]: cat.c src/distrib/sets/lists/tests [netbsd-7]: mi src/tests/bin/cat [netbsd-7]: Makefile t_cat.sh Added Files: src/tests/bin/cat [netbsd-7]: d_se_output.in d_se_output.out Log Message: Pull up following revision(s) (requested by sevan in ticket #1182): bin/cat/cat.c: revision 1.57 distrib/sets/lists/tests/mi: revision 1.675 tests/bin/cat/Makefile: revision 1.2 tests/bin/cat/d_se_output.in: revision 1.1 tests/bin/cat/d_se_output.out: revision 1.1 tests/bin/cat/t_cat.sh: revision 1.3 When invoked with -se, print a '$' on blank lines Obtained from OpenBSD r1.13 of src/bin/cat/cat.c Closes PR bin/51250 Reviewed by Christos@ -- Add a unit test for PR bin/51250 called se_output. se_output checks the output of cat when invoked with '-se', to ensure that a '$' is printed on blank lines. -- Add input/output files for new test case - fix build To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.54.4.1 src/bin/cat/cat.c cvs rdiff -u -r1.584.2.3 -r1.584.2.4 src/distrib/sets/lists/tests/mi cvs rdiff -u -r1.1 -r1.1.12.1 src/tests/bin/cat/Makefile cvs rdiff -u -r0 -r1.1.2.2 src/tests/bin/cat/d_se_output.in \ src/tests/bin/cat/d_se_output.out cvs rdiff -u -r1.2 -r1.2.12.1 src/tests/bin/cat/t_cat.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.