don't out \r to syslog
[oweals/busybox.git] / testsuite / egrep.tests
1 #!/bin/sh
2
3 # egrep tests.
4 # Copyright 2005 by Rob Landley <rob@landley.net>
5 # Licensed under GPL v2, see file LICENSE for details.
6
7 # AUDIT: 
8
9 [ ${#COMMAND} -eq 0 ] && COMMAND=egrep
10 . testing.sh
11
12 # Depends on FEATURE_GREP_EGREP_ALIAS
13 _BB_CONFIG_DEP=FEATURE_GREP_EGREP_ALIAS
14
15 testing "grep is also egrep" "foo" "foo\n" "" "foo\nbar\n"
16 testing "egrep is not case insensitive" "foo ; [ \$? -ne 0 ] && echo yes" \
17         "yes\n" "" "FOO\n"
18
19
20 exit $FAILCOUNT