aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-11-05 00:13:27 -0600
committerRob Landley <rob@landley.net>2015-11-05 00:13:27 -0600
commit769341fdd7497683136d1a9ae08f6009dbad6c8c (patch)
tree8ea1c3c90d0a7c5e6814588e9f807a88a4633524 /tests
parent547c9167565cf8a2bba8bd79850889101866814a (diff)
downloadtoybox-769341fdd7497683136d1a9ae08f6009dbad6c8c.tar.gz
Fix sed bug where any ] right after [ was skipped, not just first one in range.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/sed.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sed.test b/tests/sed.test
index 56d68fdb..805184e6 100755
--- a/tests/sed.test
+++ b/tests/sed.test
@@ -129,6 +129,7 @@ testing "" "sed '1a\
hello'" "merp\nhello\n" "" "merp"
testing "" "sed -e '/x/c\' -e 'y'" 'y\n' '' 'x\n'
+testing "" "sed -e 's/a[([]*b/X/'" 'X' '' 'a[(b'
#echo meep | sed/sed -e '1a\' -e 'huh'
#echo blah | sed/sed -f <(echo -e "1a\\\\\nboom")