mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-18 05:12:15 +02:00
Move the sole test in tests/unexpand to tests/misc/unexpand.
* tests/unexpand/basic-1: Move this file to ... * tests/misc/unexpand: ...here. Don't rely on $PROG in env. * tests/misc/Makefile.am (TESTS): Add unexpand. * tests/Makefile.am (SUBDIRS): Remove unexpand. * tests/unexpand: Remove the directory. * configure.ac (AC_CONFIG_FILES): Remove tests/unexpand/Makefile.
This commit is contained in:
@@ -370,7 +370,6 @@ AC_CONFIG_FILES(
|
||||
tests/touch/Makefile
|
||||
tests/tr/Makefile
|
||||
tests/tsort/Makefile
|
||||
tests/unexpand/Makefile
|
||||
tests/uniq/Makefile
|
||||
tests/wc/Makefile
|
||||
)
|
||||
|
||||
@@ -47,7 +47,7 @@ SUBDIRS = \
|
||||
chgrp chmod chown cp cut dd du head \
|
||||
install join ln ls ls-2 misc mkdir mv od pr readlink rm rmdir \
|
||||
sha1sum shred sort stty sum tac tail tail-2 tee test touch tr \
|
||||
tsort unexpand uniq wc
|
||||
tsort uniq wc
|
||||
## N O T E :: Please do not add new directories.
|
||||
|
||||
all_t = t1 t2 t3 t4 t5 t6 t7 t8 t9
|
||||
|
||||
@@ -103,6 +103,7 @@ TESTS = \
|
||||
stat-printf \
|
||||
tac-continue \
|
||||
test-diag \
|
||||
tty-eof
|
||||
tty-eof \
|
||||
unexpand
|
||||
|
||||
include $(top_srcdir)/tests/check.mk
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Test "unexpand".
|
||||
|
||||
# Copyright (C) 2000, 2003, 2004, 2005, 2006 Free Software Foundation,
|
||||
# Inc.
|
||||
# Copyright (C) 2000, 2003-2007 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -36,7 +35,7 @@ use strict;
|
||||
# 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 $prog = 'unexpand';
|
||||
|
||||
my @Tests =
|
||||
(
|
||||
@@ -1,13 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in -*-Makefile-*-.
|
||||
|
||||
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=unexpand
|
||||
|
||||
TESTS = basic-1
|
||||
Reference in New Issue
Block a user