# Copyright 2005 by Rob Landley <rob@landley.net>
# Licensed under GPL v2, see file LICENSE for details.
-# AUDIT:
+# AUDIT:
. testing.sh
testing "grep input (specify file)" "grep two input" "two\n" \
"one\ntwo\nthree\nthree\nthree\n" ""
+testing "grep (no newline at EOL)" "grep bug" "bug" "bug" ""
+
# Note that this assumes actual is empty.
testing "grep input actual (two files)" "grep two input actual 2> /dev/null" \
"input:two\n" "one\ntwo\nthree\nthree\nthree\n" ""