1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-19 18:26:32 +02:00

Move the sole test in tests/factor to tests/misc/factor.

* tests/factor/basic: Move this file to ...
* tests/misc/factor: ...here.  Don't rely on $PROG in env.
* tests/misc/Makefile.am (TESTS): Add factor.
* tests/Makefile.am (SUBDIRS): Remove factor.
* tests/factor: Remove the directory.
* configure.ac (AC_CONFIG_FILES): Remove tests/factor/Makefile
This commit is contained in:
Jim Meyering
2007-09-07 23:54:49 +02:00
parent fd9f53cfdf
commit aa3a727dc0
5 changed files with 3 additions and 14 deletions

View File

@@ -343,7 +343,6 @@ AC_CONFIG_FILES(
tests/cut/Makefile
tests/dd/Makefile
tests/du/Makefile
tests/factor/Makefile
tests/fmt/Makefile
tests/head/Makefile
tests/install/Makefile

View File

@@ -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 factor fmt head \
chgrp chmod chown cp cut dd du 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

View File

@@ -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=factor

View File

@@ -67,6 +67,7 @@ TESTS = \
dirname \
expand \
expr \
factor \
false-status \
fold \
groups-version \

View File

@@ -33,12 +33,11 @@ require 5.003;
use strict;
(my $program_name = $0) =~ s|.*/||;
my $prog = 'factor';
# 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 =
(
['1', '9', {OUT => '3 3'}],