From 4bb1b04fd1d7d6fe410e1af14816d11da456aac5 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 16 Mar 2006 15:20:45 +0000 Subject: 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...) --- testsuite/egrep.tests | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 testsuite/egrep.tests (limited to 'testsuite/egrep.tests') 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 -# 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 -- cgit v1.2.3