sed: fix a case when one-line range matches past lines. Closes bug 1867.
[oweals/busybox.git] / testsuite / uniq.tests
index 8961d669ca7792123a760debea388745ae1a9619..02c595a0e3b8795f6fe411846335cb63ca321de6 100755 (executable)
@@ -6,7 +6,7 @@
 
 # AUDIT: Full SUSv3 coverage (except internationalization).
 
-. testing.sh
+. ./testing.sh
 
 # testing "test name" "options" "expected result" "file input" "stdin"
 #   file input will be file called "input"
@@ -50,7 +50,7 @@ testing "uniq input - (specify stdout)" "uniq input -" \
 testing "uniq -c (occurrence count)" "uniq -c | sed 's/^[ \t]*//'" \
        "1 one\n2 two\n3 three\n" "" \
        "one\ntwo\ntwo\nthree\nthree\nthree\n"
-testing "uniq -d (dups only) " "uniq -d" "two\nthree\n" "" \
+testing "uniq -d (dups only)" "uniq -d" "two\nthree\n" "" \
        "one\ntwo\ntwo\nthree\nthree\nthree\n"
 
 testing "uniq -f -s (skip fields and chars)" "uniq -f2 -s 3" \