]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Move the sole test in tests/unexpand to tests/misc/unexpand.
authorJim Meyering <jim@meyering.net>
Mon, 10 Sep 2007 17:08:31 +0000 (19:08 +0200)
committerJim Meyering <jim@meyering.net>
Sat, 15 Sep 2007 06:40:39 +0000 (08:40 +0200)
* 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.

configure.ac
tests/Makefile.am
tests/misc/Makefile.am
tests/misc/unexpand [moved from tests/unexpand/basic-1 with 96% similarity]
tests/unexpand/Makefile.am [deleted file]

index e8e19cb8d99051d40f4f0ff5ba0b4d42074e7028..98393e4991613bdac868b56ac41a9bf5ace1ae81 100644 (file)
@@ -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
   )
index ef06667d4d706f18a67a2896ea9115c83f32b348..aeae3955749bd3783a83d4842e057207bae359b9 100644 (file)
@@ -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
index ab53737679264760db55e21fe4315ba2c912b5a3..7decb29fd0c2f346fcb5be1367d6f963c28a1468 100644 (file)
@@ -103,6 +103,7 @@ TESTS = \
   stat-printf \
   tac-continue \
   test-diag \
-  tty-eof
+  tty-eof \
+  unexpand
 
 include $(top_srcdir)/tests/check.mk
similarity index 96%
rename from tests/unexpand/basic-1
rename to tests/misc/unexpand
index 64f4ea66c4d5bc8be6a93ddbaa39844b88194cb6..9752524d5a4c29cf4949e9d49042d36358a143d0 100755 (executable)
@@ -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 =
     (
diff --git a/tests/unexpand/Makefile.am b/tests/unexpand/Makefile.am
deleted file mode 100644 (file)
index 6c692bd..0000000
+++ /dev/null
@@ -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