summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-09-07 23:54:49 +0200
committerJim Meyering <jim@meyering.net>2007-09-15 08:40:38 +0200
commitaa3a727dc021bc23817957b0f8daec284a617df0 (patch)
tree4f80c598ebc73a1610504d954a8e9302958f4932 /tests
parentfd9f53cfdf3b1d69f8ace0deded9699b248ac81f (diff)
downloadcoreutils-aa3a727dc021bc23817957b0f8daec284a617df0.tar.xz
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
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/factor/Makefile.am10
-rw-r--r--tests/misc/Makefile.am1
-rwxr-xr-xtests/misc/factor (renamed from tests/factor/basic)3
4 files changed, 3 insertions, 13 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 84e0fdd87..53985da04 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -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
diff --git a/tests/factor/Makefile.am b/tests/factor/Makefile.am
deleted file mode 100644
index dedc143bb..000000000
--- a/tests/factor/Makefile.am
+++ /dev/null
@@ -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
diff --git a/tests/misc/Makefile.am b/tests/misc/Makefile.am
index f1775d85e..b23785847 100644
--- a/tests/misc/Makefile.am
+++ b/tests/misc/Makefile.am
@@ -67,6 +67,7 @@ TESTS = \
dirname \
expand \
expr \
+ factor \
false-status \
fold \
groups-version \
diff --git a/tests/factor/basic b/tests/misc/factor
index bd2cc0851..e6d3bcf71 100755
--- a/tests/factor/basic
+++ b/tests/misc/factor
@@ -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'}],