History log of /freebsd-10-stable/usr.bin/sed/tests/regress.c2.out
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 264996 26-Apr-2014 jmmv

MFC various moves of tools/regressions/ tests to the new infrastructure.

- r263220 Migrate tools/regression/sbin/ to the new tests layout.
- r263222 Add Makefile missed in r263220.
- r263226 Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout.
- r263227 Migrate most of tools/regression/usr.bin/ to the new tests layout.
- r263345 Expand tabs that sneaked in into spaces.
- r263346 Migrate tools/regression/usr.bin/make/ to the new tests layout.
- r263348 Add Makefiles missed in r263346.
- r263351 Migrate tools/regression/usr.bin/pkill/ to the new tests layout.
- r263388 Mark multi_test as requiring /usr/share/dict/words.
- r263814 Fix path to the run.pl script to let these tests run.
- r264742 Prevent building tests when bootstrapping make.

This is 'make tinderbox' clean.


/freebsd-10-stable
/freebsd-10-stable/Makefile
/freebsd-10-stable/bin/pkill/Makefile
/freebsd-10-stable/bin/pkill/tests
/freebsd-10-stable/etc/mtree/BSD.tests.dist
/freebsd-10-stable/sbin/Makefile
/freebsd-10-stable/sbin/dhclient/Makefile
/freebsd-10-stable/sbin/dhclient/tests
/freebsd-10-stable/sbin/growfs/Makefile
/freebsd-10-stable/sbin/growfs/tests
/freebsd-10-stable/sbin/mdconfig/Makefile
/freebsd-10-stable/sbin/mdconfig/tests
/freebsd-10-stable/sbin/mdconfig/tests/Makefile
/freebsd-10-stable/sbin/mdconfig/tests/legacy_test.sh
/freebsd-10-stable/sbin/tests
/freebsd-10-stable/tools/build/mk/OptionalObsoleteFiles.inc
/freebsd-10-stable/tools/regression/sbin
/freebsd-10-stable/tools/regression/usr.bin/Makefile
/freebsd-10-stable/tools/regression/usr.bin/apply
/freebsd-10-stable/tools/regression/usr.bin/calendar
/freebsd-10-stable/tools/regression/usr.bin/comm
/freebsd-10-stable/tools/regression/usr.bin/file2c
/freebsd-10-stable/tools/regression/usr.bin/join
/freebsd-10-stable/tools/regression/usr.bin/jot
/freebsd-10-stable/tools/regression/usr.bin/lastcomm
/freebsd-10-stable/tools/regression/usr.bin/m4
/freebsd-10-stable/tools/regression/usr.bin/make
/freebsd-10-stable/tools/regression/usr.bin/ncal
/freebsd-10-stable/tools/regression/usr.bin/pkill
/freebsd-10-stable/tools/regression/usr.bin/printf
/freebsd-10-stable/tools/regression/usr.bin/regress.m4
/freebsd-10-stable/tools/regression/usr.bin/sed
/freebsd-10-stable/tools/regression/usr.bin/tr
/freebsd-10-stable/tools/regression/usr.bin/uudecode
/freebsd-10-stable/tools/regression/usr.bin/uuencode
/freebsd-10-stable/tools/regression/usr.bin/xargs
/freebsd-10-stable/tools/regression/usr.bin/yacc
/freebsd-10-stable/tools/regression/usr.sbin
/freebsd-10-stable/usr.bin/apply/Makefile
/freebsd-10-stable/usr.bin/apply/tests
/freebsd-10-stable/usr.bin/calendar/Makefile
/freebsd-10-stable/usr.bin/calendar/tests
/freebsd-10-stable/usr.bin/comm/Makefile
/freebsd-10-stable/usr.bin/comm/tests
/freebsd-10-stable/usr.bin/file2c/Makefile
/freebsd-10-stable/usr.bin/file2c/tests
/freebsd-10-stable/usr.bin/join/Makefile
/freebsd-10-stable/usr.bin/join/tests
/freebsd-10-stable/usr.bin/jot/Makefile
/freebsd-10-stable/usr.bin/jot/tests
/freebsd-10-stable/usr.bin/lastcomm/Makefile
/freebsd-10-stable/usr.bin/lastcomm/tests
/freebsd-10-stable/usr.bin/m4/Makefile
/freebsd-10-stable/usr.bin/m4/tests
/freebsd-10-stable/usr.bin/make/Makefile
/freebsd-10-stable/usr.bin/make/tests
/freebsd-10-stable/usr.bin/make/tests/Makefile
/freebsd-10-stable/usr.bin/make/tests/archives/Makefile
/freebsd-10-stable/usr.bin/make/tests/archives/fmt_44bsd/Makefile
/freebsd-10-stable/usr.bin/make/tests/archives/fmt_44bsd_mod/Makefile
/freebsd-10-stable/usr.bin/make/tests/archives/fmt_oldbsd/Makefile
/freebsd-10-stable/usr.bin/make/tests/basic/Makefile
/freebsd-10-stable/usr.bin/make/tests/basic/t0/Makefile
/freebsd-10-stable/usr.bin/make/tests/basic/t1/Makefile
/freebsd-10-stable/usr.bin/make/tests/basic/t2/Makefile
/freebsd-10-stable/usr.bin/make/tests/basic/t3/Makefile
/freebsd-10-stable/usr.bin/make/tests/execution/Makefile
/freebsd-10-stable/usr.bin/make/tests/execution/ellipsis/Makefile
/freebsd-10-stable/usr.bin/make/tests/execution/empty/Makefile
/freebsd-10-stable/usr.bin/make/tests/execution/joberr/Makefile
/freebsd-10-stable/usr.bin/make/tests/execution/plus/Makefile
/freebsd-10-stable/usr.bin/make/tests/shell/Makefile
/freebsd-10-stable/usr.bin/make/tests/shell/builtin/Makefile
/freebsd-10-stable/usr.bin/make/tests/shell/meta/Makefile
/freebsd-10-stable/usr.bin/make/tests/shell/path/Makefile
/freebsd-10-stable/usr.bin/make/tests/shell/path_select/Makefile
/freebsd-10-stable/usr.bin/make/tests/shell/replace/Makefile
/freebsd-10-stable/usr.bin/make/tests/shell/select/Makefile
/freebsd-10-stable/usr.bin/make/tests/suffixes/Makefile
/freebsd-10-stable/usr.bin/make/tests/suffixes/basic/Makefile
/freebsd-10-stable/usr.bin/make/tests/suffixes/src_wild1/Makefile
/freebsd-10-stable/usr.bin/make/tests/suffixes/src_wild2/Makefile
/freebsd-10-stable/usr.bin/make/tests/syntax/Makefile
/freebsd-10-stable/usr.bin/make/tests/syntax/directive-t0/Makefile
/freebsd-10-stable/usr.bin/make/tests/syntax/enl/Makefile
/freebsd-10-stable/usr.bin/make/tests/syntax/funny-targets/Makefile
/freebsd-10-stable/usr.bin/make/tests/syntax/semi/Makefile
/freebsd-10-stable/usr.bin/make/tests/sysmk/Makefile
/freebsd-10-stable/usr.bin/make/tests/sysmk/t0/2/1/Makefile
/freebsd-10-stable/usr.bin/make/tests/sysmk/t0/2/Makefile
/freebsd-10-stable/usr.bin/make/tests/sysmk/t0/Makefile
/freebsd-10-stable/usr.bin/make/tests/sysmk/t0/mk/Makefile
/freebsd-10-stable/usr.bin/make/tests/sysmk/t1/2/1/Makefile
/freebsd-10-stable/usr.bin/make/tests/sysmk/t1/2/Makefile
/freebsd-10-stable/usr.bin/make/tests/sysmk/t1/Makefile
/freebsd-10-stable/usr.bin/make/tests/sysmk/t1/mk/Makefile
/freebsd-10-stable/usr.bin/make/tests/sysmk/t2/2/1/Makefile
/freebsd-10-stable/usr.bin/make/tests/sysmk/t2/2/Makefile
/freebsd-10-stable/usr.bin/make/tests/sysmk/t2/Makefile
/freebsd-10-stable/usr.bin/make/tests/sysmk/t2/mk/Makefile
/freebsd-10-stable/usr.bin/make/tests/variables/Makefile
/freebsd-10-stable/usr.bin/make/tests/variables/modifier_M/Makefile
/freebsd-10-stable/usr.bin/make/tests/variables/modifier_t/Makefile
/freebsd-10-stable/usr.bin/make/tests/variables/opt_V/Makefile
/freebsd-10-stable/usr.bin/make/tests/variables/t0/Makefile
/freebsd-10-stable/usr.bin/ncal/Makefile
/freebsd-10-stable/usr.bin/ncal/tests
/freebsd-10-stable/usr.bin/printf/Makefile
/freebsd-10-stable/usr.bin/printf/tests
/freebsd-10-stable/usr.bin/sed/Makefile
/freebsd-10-stable/usr.bin/sed/tests
/freebsd-10-stable/usr.bin/sed/tests/Makefile
/freebsd-10-stable/usr.bin/tests/Makefile
/freebsd-10-stable/usr.bin/tests/regress.m4
/freebsd-10-stable/usr.bin/tr/Makefile
/freebsd-10-stable/usr.bin/tr/tests
/freebsd-10-stable/usr.bin/uudecode/Makefile
/freebsd-10-stable/usr.bin/uudecode/tests
/freebsd-10-stable/usr.bin/uuencode/Makefile
/freebsd-10-stable/usr.bin/uuencode/tests
/freebsd-10-stable/usr.bin/xargs/Makefile
/freebsd-10-stable/usr.bin/xargs/tests
/freebsd-10-stable/usr.bin/yacc/Makefile
/freebsd-10-stable/usr.bin/yacc/tests
/freebsd-10-stable/usr.sbin/Makefile
/freebsd-10-stable/usr.sbin/etcupdate/Makefile
/freebsd-10-stable/usr.sbin/etcupdate/tests
/freebsd-10-stable/usr.sbin/newsyslog/Makefile
/freebsd-10-stable/usr.sbin/newsyslog/tests
/freebsd-10-stable/usr.sbin/sa/Makefile
/freebsd-10-stable/usr.sbin/sa/tests
/freebsd-10-stable/usr.sbin/tests
# 263227 16-Mar-2014 jmmv

Migrate most of tools/regression/usr.bin/ to the new tests layout.

I'm starting with the easy cases. The leftovers need to be looked at a
bit more closely.

Note that this change _does_ modify the code of the old tests. This is
required in order to allow the code to locate the data files in the
source directory instead of the current directory, because Kyua
automatically changes the latter to a temporary directory.

Also note that at least one test is known to be broken here. Actually,
the test is not really broken: it's marked as a TODO but unfortunately
Kyua's TAP parser currently does not understand that. Will have to be
fixed separately.


# 180208 03-Jul-2008 peter

Set magic fbsd:nokeywords property that allows files to bypass
keyword expansion. (file-specific replacement for CVSROOT/exclude)


# 168211 01-Apr-2007 yar

This trivial change should fix at least 3 similar bugs. All of
them are related to the `c' function's need to know if we are at
the actual end of the address range. (It must print the text not
earlier than the whole pattern space was deleted.) It appears the
only sed function with this requirement.

There is `lastaddr' set by applies(), which is to notify the `c'
function, but it can't always help because it's false when we are
hitting the end of file early. There is also a bug in applies()
due to which `lastaddr' isn't set to true on degenerate ranges such
as `$,$' or `N,$' if N appears the last line number.

Handling early EOF condition in applies() could look more logical,
but it would effectively revert sed to the unreasonable behaviour
rev. 1.26 of main.c fought against, as it would require lastline()
be called for each line within each address range. So it's better
to call lastline() only if needed by the `c' function.

Together with this change to sed go regression tests for the bugs
fixed (c1-c3). A basic test of `c' (c0) is also added as it helped
me to spot my own error.

Discussed with: dds
Tested by: the regression tests
MFC after: 1 week