mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-13 19:02:02 +02:00
Move the sole test in tests/expr to tests/misc/expr.
* tests/expr/basic: Move this file to ... * tests/misc/expr: ...here. Don't rely on $PROG in env. * tests/misc/Makefile.am (TESTS): Add expr. * tests/Makefile.am (SUBDIRS): Remove expr. * tests/expr: Remove the directory. * configure.ac (AC_CONFIG_FILES): Remove tests/expr/Makefile
This commit is contained in:
@@ -343,7 +343,6 @@ AC_CONFIG_FILES(
|
||||
tests/cut/Makefile
|
||||
tests/dd/Makefile
|
||||
tests/du/Makefile
|
||||
tests/expr/Makefile
|
||||
tests/factor/Makefile
|
||||
tests/fmt/Makefile
|
||||
tests/head/Makefile
|
||||
|
||||
@@ -44,7 +44,7 @@ EXTRA_DIST = \
|
||||
## N O T E :: Please do not add new tests/ directories.
|
||||
## There are too many already. Put new tests in misc/.
|
||||
SUBDIRS = \
|
||||
chgrp chmod chown cp cut dd du expr factor fmt head \
|
||||
chgrp chmod chown cp cut dd du factor fmt head \
|
||||
install join ln ls ls-2 md5sum misc mkdir mv od pr readlink rm rmdir \
|
||||
seq sha1sum shred sort stty sum tac tail tail-2 tee test touch tr \
|
||||
tsort unexpand uniq wc
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in -*-Makefile-*-.
|
||||
TESTS = basic
|
||||
EXTRA_DIST = $(TESTS)
|
||||
TESTS_ENVIRONMENT = \
|
||||
top_srcdir=$(top_srcdir) \
|
||||
srcdir=$(srcdir) \
|
||||
PERL="$(PERL)" \
|
||||
CU_TEST_NAME=`basename $(abs_srcdir)`,$$tst \
|
||||
PATH="$(VG_PATH_PREFIX)`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
|
||||
PROG=expr
|
||||
@@ -66,6 +66,7 @@ TESTS = \
|
||||
df \
|
||||
dirname \
|
||||
expand \
|
||||
expr \
|
||||
false-status \
|
||||
fold \
|
||||
groups-version \
|
||||
|
||||
@@ -32,12 +32,11 @@ require 5.003;
|
||||
use strict;
|
||||
|
||||
(my $program_name = $0) =~ s|.*/||;
|
||||
my $prog = 'expr';
|
||||
|
||||
# Turn off localisation of executable's ouput.
|
||||
@ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3;
|
||||
|
||||
my $prog = $ENV{PROG} || die "$0: \$PROG not specified in environment\n";
|
||||
|
||||
my @Tests =
|
||||
(
|
||||
['a', '5 + 6', {OUT => '11'}],
|
||||
Reference in New Issue
Block a user