aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-04-11 11:32:36 -0500
committerRob Landley <rob@landley.net>2016-04-11 11:32:36 -0500
commitf9b9f8a1a457f3a359c0d623fc5d0b261f458980 (patch)
tree0ed270aab3ac296de0c3f58b8174c6f53514aa42 /tests
parentcb49c305e3c78179b19d6f174ae73309544292b8 (diff)
downloadtoybox-f9b9f8a1a457f3a359c0d623fc5d0b261f458980.tar.gz
sed -f - should read from stdin.
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 7a4a8cda..822cfa37 100755
--- a/tests/sed.test
+++ b/tests/sed.test
@@ -127,6 +127,7 @@ testing "blank pattern repeats last pattern" \
testing "" "sed -e '1a\' -e 'huh'" "meep\nhuh\n" "" "meep"
testing "" "sed -f input" "blah\nboom\n" '1a\\\nboom' 'blah'
+testing "" "sed -f - input" "blah\nboom\n" 'blah' '1a\\\nboom'
testing "" "sed '1a\
hello'" "merp\nhello\n" "" "merp"