aboutsummaryrefslogtreecommitdiff
path: root/tests/sed.test
AgeCommit message (Collapse)Author
2016-03-02Factor out command name at the start of test name, have runtest.sh print it.Rob Landley
2016-02-17The perl build's attempt to escape spaces and such in LD_LIBRARY_PATH is _SAD_.Rob Landley
It uses a sed expression that assumes you can escape - to use it as a literal (you can't, it has to be first or last char of the range), and assumes you have to escape delimiters in sed [] context (you don't), and/or that non-printf escapes become the literal character (they don't, the backslash is preserved as a literal), meaning it winds up doing "s/[\-\]//" which is a length 1 range, which is officially undefined behavior according to posix, and regcomp errors out. But if we don't accept it (like other implementations do) the perl build breaks. So collapse [A-A] into just [A]. Testcae taken from perl 5.22.0 file Makefile.SH line 8. (While we're at it, remove an unused argument from a function.)
2016-01-21Add a sed test from the posix mailing list.Rob Landley
2015-12-04Replace duplicate sed test with case we hadn't covered yet.Rob Landley
2015-11-05Fix sed bug where any ] right after [ was skipped, not just first one in range.Rob Landley
2015-10-29Fix sed bug reported by Isabella Parakiss, where sed -e "/x/c\" -e "y" addedRob Landley
an extra newline because the test for whether we have an existing string to append a newline to was checking if struct step had data appended to it, and the /x/ regex is data appended to it. Change test to check for null terminator at ->arg1 offset.
2015-05-12Set the executable bits on all the *.test files. (Wasn't consistent, is now.)Rob Landley
2015-03-28Fix sed bug David Halls hit trying to compile libiconv.Rob Landley
2014-12-21Another sed bug. (The e2fsprogs build uses multiple line continuations on ↵Rob Landley
the same command.)
2014-12-14Make sed a\ line continuations work properly for different pattern input modes.Rob Landley
2014-11-27sed: c needs to trigger range logic like d, D works like d when there isn't ↵Rob Landley
anything left in the line, and more tests.
2014-11-15Debugging pass on sed: make the existing test suite pass.Rob Landley
2014-11-14Add a few more sed tests.Rob Landley
2014-11-09Yet more sed tests.Rob Landley
2014-11-06More sed tests.Rob Landley
2014-10-29First batch of sed tests.Rob Landley
Only good for TEST_HOST=1 at the moment because the test infrastructure itself depends on sed, so if an unfinished sed is in the $PATH it goes boing. But hey, corner cases! I have... more.