aboutsummaryrefslogtreecommitdiff
path: root/testsuite/egrep.tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-03-16 15:20:45 +0000
committerRob Landley <rob@landley.net>2006-03-16 15:20:45 +0000
commit4bb1b04fd1d7d6fe410e1af14816d11da456aac5 (patch)
tree601a54598057fc267def41fce1acecfb8e5a2845 /testsuite/egrep.tests
parentea9a471acd94f604f360ea16df5896e795361ac7 (diff)
downloadbusybox-4bb1b04fd1d7d6fe410e1af14816d11da456aac5.tar.gz
Redo test suite to be able to test more than one command at a time. Eliminate
$COMMAND environment variable, instead put full command line (including command to run) in second argument. Modify $PATH to have test versions of commands at start of path. (Also more infrastructure for testing as root, work in progress...)
Diffstat (limited to 'testsuite/egrep.tests')
-rwxr-xr-xtestsuite/egrep.tests19
1 files changed, 0 insertions, 19 deletions
diff --git a/testsuite/egrep.tests b/testsuite/egrep.tests
deleted file mode 100755
index 61ce009d7..000000000
--- a/testsuite/egrep.tests
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/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