summaryrefslogtreecommitdiff
path: root/testsuite/egrep.tests
blob: 61ce009d7e8dac2d4745016026c64bde7d079e2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

# egrep tests.
# Copyright 2005 by Rob Landley <rob@landley.net>
# Licensed under GPL v2, see file LICENSE for details.

# AUDIT: 

[ ${#COMMAND} -eq 0 ] && COMMAND=egrep
. testing.sh

optional FEATURE_GREP_EGREP_ALIAS

testing "grep is also egrep" "foo" "foo\n" "" "foo\nbar\n"
testing "egrep is not case insensitive" "foo ; [ \$? -ne 0 ] && echo yes" \
	"yes\n" "" "FOO\n"


exit $FAILCOUNT