# SUSv3 compliant uniq tests.
# Copyright 2005 by Rob Landley <rob@landley.net>
-# Licensed under GPL v2, see file LICENSE for details.
+# Licensed under GPLv2, see file LICENSE in this source tree.
# 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"
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" \