diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/sed.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/sed.test b/tests/sed.test index dfb8e884..67de46b2 100755 --- a/tests/sed.test +++ b/tests/sed.test @@ -4,7 +4,7 @@ testing 'as cat' 'sed ""' "one\ntwo\nthree" "" "one\ntwo\nthree" # This segfaults ubuntu 12.04's sed. No really. -SKIP_HOST=1 testing 'sed - - twice' 'sed "" - -' "hello\n" "" "hello\n" +testing 'sed - - twice' 'sed "" - -' "hello\n" "" "hello\n" testing '-n' 'sed -n ""' "" "" "one\ntwo\nthree" testing '-n p' 'sed -n p' "one\ntwo\nthree" "" "one\ntwo\nthree" testing 'explicit pattern' 'sed -e p -n' "one\ntwo\nthree" "" \ @@ -45,7 +45,7 @@ testing 'match t delim makes \t literal t' \ "sed -n '\t\txtp'" "tx\n" "" "tx\n" testing 'match n delim' "sed -n '\n\txnp'" "\tx\n" "" "\tx\n" testing 'match n delim disables \n newline' "sed -n '\n\nxnp'" "" "" "\nx\n" -SKIP_HOST=1 testing 'match \n literal n' "sed -n '\n\nxnp'" "nx\n" "" "nx\n" +toyonly testing 'match \n literal n' "sed -n '\n\nxnp'" "nx\n" "" "nx\n" testing 'end match does not check starting match line' \ "sed -n '/two/,/two/p'" "two\nthree" "" "one\ntwo\nthree" testing 'end match/start match mixing number/letter' \ @@ -82,7 +82,7 @@ testing "c {range}" "sed -e '2,4{c blah' -e '}'" \ "" "one\ntwo\nthree\nfour\nfive\nsix" testing "c multiple continuation" \ "sed -e 'c\\' -e 'two\\' -e ''" "two\n\n" "" "hello" -SKIP_HOST=1 testing "c empty continuation" "sed -e 'c\\'" "\n" "" "hello" +toyonly testing "c empty continuation" "sed -e 'c\\'" "\n" "" "hello" testing "D further processing depends on whether line is blank" \ "sed -e '/one/,/three/{' -e 'i meep' -e'N;2D;}'" \ "meep\nmeep\ntwo\nthree\n" "" "one\ntwo\nthree\n" @@ -138,7 +138,7 @@ 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' -testing "" "sed 'y/a\\bc/de\f/'" "db\f" "" "abc" +toyonly testing "" "sed 'y/a\\bc/de\f/'" "db\f" "" "abc" testing "[a-a] (for perl)" "sed '"'s/\([^a-zA-Z0-9.:_\-\/]\)/\\\1/g'"'" \ 'he\ llo' "" "he llo" @@ -150,7 +150,7 @@ testing "trailing a\ (for debian)" "sed 'a\\'" "hello\n" "" "hello" # You have to match the first line of a range in order to activate # the range, numeric and ascii work the same way -testing "skip start of range" "sed -e n -e '1,2s/b/c/'" "a\nb\n" "" "a\nb\n" +toyonly testing "skip start of range" "sed -e n -e '1,2s/b/c/'" "a\nb\n" "" "a\nb\n" testing "range +1" "sed -ne '/blah/,+1p'" "blah\n6\n" "" \ "1\n2\n3\n4\n5\nblah\n6\n7\n8\n9\n" testing "range +0" "sed -ne '/blah/,+0p'" "blah\n" "" \ |