aboutsummaryrefslogtreecommitdiff
path: root/testsuite/grep
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2005-09-23 15:44:46 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2005-09-23 15:44:46 +0000
commitb47a74f4e773dee93c60116dd34c002c7c118d0b (patch)
tree7adcb31fbbb5e204ab577cbe31c2f72cb3b5387f /testsuite/grep
parent0a44c1777134281be6b00c69b8d6b8668ea1dbf9 (diff)
downloadbusybox-b47a74f4e773dee93c60116dd34c002c7c118d0b.tar.gz
- introduce variable _BB_CONFIG_DEP to the new test harness.
This is used to see if given tests should be run (are available) or not. Print "UNTESTED: descr" if the applet or feature is not available. - add _BB_CONFIG_DEP to existing new.tests - move old grep test to new test infrastructure and add a few more test for grep.
Diffstat (limited to 'testsuite/grep')
-rw-r--r--testsuite/grep/egrep-is-not-case-insensitive2
-rw-r--r--testsuite/grep/egrep-supports-extended-regexps2
-rw-r--r--testsuite/grep/grep-handles-binary-files1
-rw-r--r--testsuite/grep/grep-handles-multiple-regexps1
-rw-r--r--testsuite/grep/grep-is-also-egrep2
-rw-r--r--testsuite/grep/grep-matches-NUL8
6 files changed, 0 insertions, 16 deletions
diff --git a/testsuite/grep/egrep-is-not-case-insensitive b/testsuite/grep/egrep-is-not-case-insensitive
deleted file mode 100644
index 881607393..000000000
--- a/testsuite/grep/egrep-is-not-case-insensitive
+++ /dev/null
@@ -1,2 +0,0 @@
-# FEATURE: CONFIG_FEATURE_GREP_EGREP_ALIAS
-test x`echo foo | busybox egrep FOO` = x
diff --git a/testsuite/grep/egrep-supports-extended-regexps b/testsuite/grep/egrep-supports-extended-regexps
deleted file mode 100644
index 6ef8b9159..000000000
--- a/testsuite/grep/egrep-supports-extended-regexps
+++ /dev/null
@@ -1,2 +0,0 @@
-# FEATURE: CONFIG_FEATURE_GREP_EGREP_ALIAS
-echo foo | busybox egrep fo+
diff --git a/testsuite/grep/grep-handles-binary-files b/testsuite/grep/grep-handles-binary-files
deleted file mode 100644
index edb2042e7..000000000
--- a/testsuite/grep/grep-handles-binary-files
+++ /dev/null
@@ -1 +0,0 @@
-echo -e '\0foo' | busybox grep foo
diff --git a/testsuite/grep/grep-handles-multiple-regexps b/testsuite/grep/grep-handles-multiple-regexps
deleted file mode 100644
index 5c1b8de1f..000000000
--- a/testsuite/grep/grep-handles-multiple-regexps
+++ /dev/null
@@ -1 +0,0 @@
-echo foo | busybox grep -e foo -e bar
diff --git a/testsuite/grep/grep-is-also-egrep b/testsuite/grep/grep-is-also-egrep
deleted file mode 100644
index 2e6977c28..000000000
--- a/testsuite/grep/grep-is-also-egrep
+++ /dev/null
@@ -1,2 +0,0 @@
-# FEATURE: CONFIG_FEATURE_GREP_EGREP_ALIAS
-echo foo | busybox egrep foo
diff --git a/testsuite/grep/grep-matches-NUL b/testsuite/grep/grep-matches-NUL
deleted file mode 100644
index 082bd8700..000000000
--- a/testsuite/grep/grep-matches-NUL
+++ /dev/null
@@ -1,8 +0,0 @@
-set +e
-echo -e '\0' | busybox grep .
-if [ $? != 0 ] ; then
- exit 0;
-fi
-
-exit 1;
-