2012-09-02 21:55:12 +02:00
|
|
|
## Process this file with automake to produce Makefile.in -*-Makefile-*-.
|
|
|
|
|
|
2016-01-01 14:10:41 +00:00
|
|
|
## Copyright (C) 2007-2016 Free Software Foundation, Inc.
|
2012-09-02 21:55:12 +02:00
|
|
|
|
|
|
|
|
## 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
|
|
|
|
|
## the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
## (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
## This program is distributed in the hope that it will be useful,
|
|
|
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
## GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
## You should have received a copy of the GNU General Public License
|
|
|
|
|
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
# Indirections required so that we'll still be able to know the
|
factor: merge with preexisting factor; integrate tests; avoid warnings
* src/factor.c: Renamed from factor-ng.c, with the following changes:
Adjust copyright header to be consistent with others.
Use xmalloc and xrealloc, to avoid segv upon OOM.
Switch back to using readtokens to handle input.
Diagnose invalid inputs.
s/fprintf+exit/error/
(print_factors): Add comments.
(strto2uintmax): Return strtol_error, not int.
(read_item): Remove, no longer used.
(main): Use atexit(close_stdout) so that we don't ignore failed write.
* cfg.mk: Exempt src/longlong.h from several tests.
Exempt run.sh from the test-list-consistency test.
Exempt make-prime-list.c from numerous tests, since we won't
be making it conform: it must not link with libcoreutils.a.
Exempt factor-ng.c from the no-upper-case error message test.
* AUTHORS (factor): Add Torbjörn and Niels.
* tests/local.mk (factor_tests): Encode the 37 tests.
($(factor_tests)): Rule to generate a test script for each test.
* tests/factor/run.sh: New script, marked as very expensive.
* .gitignore: Ignore new generated files.
* src/local.mk (src/primes.h): New rule.
(noinst_PROGRAMS): Add make-prime-list.
(noinst_HEADERS): Add longlong.h.
Remove all wheel-related rules and files.
* src/wheel-gen.pl: Remove file.
maint: mark set-but-not-used variables with ATTRIBUTE_UNUSED
* src/factor-ng.c (redcify, prime_p, isqrt2): Mark them, so we
don't have to disable -Wunused-but-set-variable.
maint: use __builtin_expect only if __GNUC__
* src/factor-ng.c (LIKELY, UNLIKELY) [__GNUC__]: Add #ifdef guard.
build: avoid warning about unused macro
* src/factor-ng.c (__GMP_DECLSPEC): Don't define here
* src/longlong.h (__GMP_DECLSPEC): Define if not already defined.
2012-09-16 22:31:04 +02:00
|
|
|
# complete list of our tests even if the user overrides TESTS
|
|
|
|
|
# from the command line (as permitted by the test harness API).
|
|
|
|
|
TESTS = $(all_tests) $(factor_tests)
|
2012-09-02 21:55:12 +02:00
|
|
|
root_tests = $(all_root_tests)
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += $(all_tests)
|
|
|
|
|
|
|
|
|
|
TEST_EXTENSIONS = .sh .pl .xpl
|
|
|
|
|
|
|
|
|
|
if HAVE_PERL
|
|
|
|
|
TESTSUITE_PERL = $(PERL)
|
|
|
|
|
else
|
|
|
|
|
TESTSUITE_PERL = $(SHELL) $(srcdir)/no-perl
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
# Options passed to the perl invocations running the perl test scripts.
|
2015-11-10 14:05:50 +00:00
|
|
|
TESTSUITE_PERL_OPTIONS = -w -I$(srcdir)/tests -MCuSkip -MCoreutils
|
2012-09-02 21:55:12 +02:00
|
|
|
# '$f' is set by the Automake-generated test harness to the path of the
|
|
|
|
|
# current test script stripped of VPATH components, and is used by the
|
|
|
|
|
# CuTmpdir module to determine the name of the temporary files to be
|
|
|
|
|
# used. Note that $f is a shell variable, not a make macro, so the use
|
|
|
|
|
# of '$$f' below is correct, and not a typo.
|
|
|
|
|
TESTSUITE_PERL_OPTIONS += -M"CuTmpdir qw($$f)"
|
|
|
|
|
|
|
|
|
|
SH_LOG_COMPILER = $(SHELL)
|
|
|
|
|
PL_LOG_COMPILER = $(TESTSUITE_PERL) $(TESTSUITE_PERL_OPTIONS)
|
|
|
|
|
# Perl scripts that must be run in tainted mode.
|
|
|
|
|
XPL_LOG_COMPILER = $(TESTSUITE_PERL) -T $(TESTSUITE_PERL_OPTIONS)
|
|
|
|
|
|
2012-09-02 21:55:13 +02:00
|
|
|
# We don't want this to go in the top-level directory.
|
|
|
|
|
TEST_SUITE_LOG = tests/test-suite.log
|
|
|
|
|
|
2012-09-02 21:55:12 +02:00
|
|
|
# Note that the first lines are statements. They ensure that environment
|
|
|
|
|
# variables that can perturb tests are unset or set to expected values.
|
|
|
|
|
# The rest are envvar settings that propagate build-related Makefile
|
|
|
|
|
# variables to test scripts.
|
2012-09-14 19:38:33 +02:00
|
|
|
TESTS_ENVIRONMENT = \
|
2012-09-02 21:55:12 +02:00
|
|
|
. $(srcdir)/tests/lang-default; \
|
|
|
|
|
tmp__=$${TMPDIR-/tmp}; \
|
|
|
|
|
test -d "$$tmp__" && test -w "$$tmp__" || tmp__=.; \
|
|
|
|
|
. $(srcdir)/tests/envvar-check; \
|
|
|
|
|
TMPDIR=$$tmp__; export TMPDIR; \
|
|
|
|
|
export \
|
|
|
|
|
VERSION='$(VERSION)' \
|
|
|
|
|
LOCALE_FR='$(LOCALE_FR)' \
|
|
|
|
|
LOCALE_FR_UTF8='$(LOCALE_FR_UTF8)' \
|
|
|
|
|
abs_top_builddir='$(abs_top_builddir)' \
|
|
|
|
|
abs_top_srcdir='$(abs_top_srcdir)' \
|
|
|
|
|
abs_srcdir='$(abs_srcdir)' \
|
2014-06-05 19:50:32 -07:00
|
|
|
built_programs='$(built_programs) $(single_binary_progs)' \
|
2012-09-02 21:55:12 +02:00
|
|
|
host_os=$(host_os) \
|
|
|
|
|
host_triplet='$(host_triplet)' \
|
|
|
|
|
srcdir='$(srcdir)' \
|
|
|
|
|
top_srcdir='$(top_srcdir)' \
|
|
|
|
|
CONFIG_HEADER='$(abs_top_builddir)/$(CONFIG_INCLUDE)' \
|
|
|
|
|
CU_TEST_NAME=`basename '$(abs_srcdir)'`,`echo $$tst|sed 's,^\./,,;s,/,-,g'` \
|
|
|
|
|
CC='$(CC)' \
|
|
|
|
|
AWK='$(AWK)' \
|
|
|
|
|
EGREP='$(EGREP)' \
|
|
|
|
|
EXEEXT='$(EXEEXT)' \
|
|
|
|
|
MAKE=$(MAKE) \
|
|
|
|
|
PACKAGE_VERSION=$(PACKAGE_VERSION) \
|
|
|
|
|
PERL='$(PERL)' \
|
2015-07-03 04:44:05 +01:00
|
|
|
SHELL='$(PREFERABLY_POSIX_SHELL)' \
|
2012-09-02 21:55:12 +02:00
|
|
|
; test -d /usr/xpg4/bin && PATH='/usr/xpg4/bin$(PATH_SEPARATOR)'"$$PATH"; \
|
|
|
|
|
PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH" \
|
|
|
|
|
; 9>&2
|
|
|
|
|
|
|
|
|
|
# On failure, display the global testsuite log on stdout.
|
|
|
|
|
VERBOSE = yes
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST += \
|
factor: merge with preexisting factor; integrate tests; avoid warnings
* src/factor.c: Renamed from factor-ng.c, with the following changes:
Adjust copyright header to be consistent with others.
Use xmalloc and xrealloc, to avoid segv upon OOM.
Switch back to using readtokens to handle input.
Diagnose invalid inputs.
s/fprintf+exit/error/
(print_factors): Add comments.
(strto2uintmax): Return strtol_error, not int.
(read_item): Remove, no longer used.
(main): Use atexit(close_stdout) so that we don't ignore failed write.
* cfg.mk: Exempt src/longlong.h from several tests.
Exempt run.sh from the test-list-consistency test.
Exempt make-prime-list.c from numerous tests, since we won't
be making it conform: it must not link with libcoreutils.a.
Exempt factor-ng.c from the no-upper-case error message test.
* AUTHORS (factor): Add Torbjörn and Niels.
* tests/local.mk (factor_tests): Encode the 37 tests.
($(factor_tests)): Rule to generate a test script for each test.
* tests/factor/run.sh: New script, marked as very expensive.
* .gitignore: Ignore new generated files.
* src/local.mk (src/primes.h): New rule.
(noinst_PROGRAMS): Add make-prime-list.
(noinst_HEADERS): Add longlong.h.
Remove all wheel-related rules and files.
* src/wheel-gen.pl: Remove file.
maint: mark set-but-not-used variables with ATTRIBUTE_UNUSED
* src/factor-ng.c (redcify, prime_p, isqrt2): Mark them, so we
don't have to disable -Wunused-but-set-variable.
maint: use __builtin_expect only if __GNUC__
* src/factor-ng.c (LIKELY, UNLIKELY) [__GNUC__]: Add #ifdef guard.
build: avoid warning about unused macro
* src/factor-ng.c (__GMP_DECLSPEC): Don't define here
* src/longlong.h (__GMP_DECLSPEC): Define if not already defined.
2012-09-16 22:31:04 +02:00
|
|
|
init.cfg \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/Coreutils.pm \
|
|
|
|
|
tests/CuSkip.pm \
|
|
|
|
|
tests/CuTmpdir.pm \
|
|
|
|
|
tests/d_type-check \
|
|
|
|
|
tests/envvar-check \
|
factor: merge with preexisting factor; integrate tests; avoid warnings
* src/factor.c: Renamed from factor-ng.c, with the following changes:
Adjust copyright header to be consistent with others.
Use xmalloc and xrealloc, to avoid segv upon OOM.
Switch back to using readtokens to handle input.
Diagnose invalid inputs.
s/fprintf+exit/error/
(print_factors): Add comments.
(strto2uintmax): Return strtol_error, not int.
(read_item): Remove, no longer used.
(main): Use atexit(close_stdout) so that we don't ignore failed write.
* cfg.mk: Exempt src/longlong.h from several tests.
Exempt run.sh from the test-list-consistency test.
Exempt make-prime-list.c from numerous tests, since we won't
be making it conform: it must not link with libcoreutils.a.
Exempt factor-ng.c from the no-upper-case error message test.
* AUTHORS (factor): Add Torbjörn and Niels.
* tests/local.mk (factor_tests): Encode the 37 tests.
($(factor_tests)): Rule to generate a test script for each test.
* tests/factor/run.sh: New script, marked as very expensive.
* .gitignore: Ignore new generated files.
* src/local.mk (src/primes.h): New rule.
(noinst_PROGRAMS): Add make-prime-list.
(noinst_HEADERS): Add longlong.h.
Remove all wheel-related rules and files.
* src/wheel-gen.pl: Remove file.
maint: mark set-but-not-used variables with ATTRIBUTE_UNUSED
* src/factor-ng.c (redcify, prime_p, isqrt2): Mark them, so we
don't have to disable -Wunused-but-set-variable.
maint: use __builtin_expect only if __GNUC__
* src/factor-ng.c (LIKELY, UNLIKELY) [__GNUC__]: Add #ifdef guard.
build: avoid warning about unused macro
* src/factor-ng.c (__GMP_DECLSPEC): Don't define here
* src/longlong.h (__GMP_DECLSPEC): Define if not already defined.
2012-09-16 22:31:04 +02:00
|
|
|
tests/factor/run.sh \
|
2012-10-27 13:24:18 +02:00
|
|
|
tests/factor/create-test.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/filefrag-extent-compare \
|
|
|
|
|
tests/fiemap-capable \
|
|
|
|
|
tests/init.sh \
|
|
|
|
|
tests/lang-default \
|
|
|
|
|
tests/no-perl \
|
|
|
|
|
tests/other-fs-tmpdir \
|
|
|
|
|
tests/sample-test \
|
|
|
|
|
$(pr_data)
|
|
|
|
|
|
|
|
|
|
all_root_tests = \
|
|
|
|
|
tests/chown/basic.sh \
|
|
|
|
|
tests/cp/cp-a-selinux.sh \
|
|
|
|
|
tests/cp/preserve-gid.sh \
|
|
|
|
|
tests/cp/special-bits.sh \
|
|
|
|
|
tests/cp/cp-mv-enotsup-xattr.sh \
|
|
|
|
|
tests/cp/capability.sh \
|
|
|
|
|
tests/cp/sparse-fiemap.sh \
|
|
|
|
|
tests/dd/skip-seek-past-dev.sh \
|
|
|
|
|
tests/df/problematic-chars.sh \
|
2014-06-24 15:34:39 +01:00
|
|
|
tests/df/over-mount-device.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/du/bind-mount-dir-cycle.sh \
|
2014-12-01 09:24:14 +01:00
|
|
|
tests/du/bind-mount-dir-cycle-v2.sh \
|
2013-09-22 04:15:34 +01:00
|
|
|
tests/id/setgid.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/install/install-C-root.sh \
|
|
|
|
|
tests/ls/capability.sh \
|
|
|
|
|
tests/ls/nameless-uid.sh \
|
|
|
|
|
tests/misc/chcon.sh \
|
|
|
|
|
tests/misc/chroot-credentials.sh \
|
|
|
|
|
tests/misc/selinux.sh \
|
|
|
|
|
tests/misc/truncate-owned-by-other.sh \
|
|
|
|
|
tests/mkdir/writable-under-readonly.sh \
|
2013-12-31 18:09:14 +02:00
|
|
|
tests/mkdir/smack-root.sh \
|
2014-11-22 03:41:55 +00:00
|
|
|
tests/mv/hardlink-case.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/mv/sticky-to-xpart.sh \
|
|
|
|
|
tests/rm/fail-2eperm.sh \
|
|
|
|
|
tests/rm/no-give-up.sh \
|
|
|
|
|
tests/rm/one-file-system.sh \
|
|
|
|
|
tests/rm/read-only.sh \
|
|
|
|
|
tests/tail-2/append-only.sh \
|
|
|
|
|
tests/touch/now-owned-by-other.sh
|
|
|
|
|
|
|
|
|
|
ALL_RECURSIVE_TARGETS += check-root
|
|
|
|
|
.PHONY: check-root
|
|
|
|
|
check-root:
|
2013-02-11 09:48:31 +00:00
|
|
|
$(MAKE) check TESTS='$(root_tests)' SUBDIRS=.
|
2012-09-02 21:55:12 +02:00
|
|
|
|
|
|
|
|
# Do not choose a name that is a shell keyword like 'if', or a
|
|
|
|
|
# commonly-used utility like 'cat' or 'test', as the name of a test.
|
|
|
|
|
# Otherwise, VPATH builds will fail on hosts like Solaris, since they
|
|
|
|
|
# will expand 'if test ...' to 'if .../test ...', and the '.../test'
|
|
|
|
|
# will execute the test script rather than the standard utility.
|
|
|
|
|
|
|
|
|
|
# Notes on the ordering of these tests:
|
|
|
|
|
# Place early in the list tests of the tools that
|
|
|
|
|
# are most commonly used in test scripts themselves.
|
|
|
|
|
# E.g., nearly every test script uses rm and chmod.
|
|
|
|
|
# help-version comes early because it's a basic sanity test.
|
|
|
|
|
# Put seq early, since lots of other tests use it.
|
|
|
|
|
# Put tests that sleep early, but not all together, so in parallel builds
|
|
|
|
|
# they share time with tests that burn CPU, not with others that sleep.
|
|
|
|
|
# Put head-elide-tail early, because it's long-running.
|
|
|
|
|
|
|
|
|
|
all_tests = \
|
|
|
|
|
tests/misc/help-version.sh \
|
|
|
|
|
tests/tail-2/inotify-race.sh \
|
tail: fix inotify startup races
The previous fixes to races in the various tail tests,
identified actual races in the tail inotify implementation.
With --follow=descriptor, if the tailed file was replaced before
the inotify watch was added, then any subsequent changes were ignored.
Similarly in --follow=name mode, all changes to a new name were
effectively ignored if that name was created after the original open()
but before the inotify_add_watch().
* src/tail.c (tail_forever_inotify): Fix 3 cases.
1. With -f, don't stop tailing when file removed before watch.
2. With -f, watch right file when file replaced before watch.
3. With -F, inspect correct file when replaced before watch.
Existing tests identify these when tail compiled with TAIL_TEST_SLEEP.
* tests/tail-2/inotify-rotate-resources.sh:
This test also identifies the issue with --follow=name
when TAIL_TEST_SLEEP is used. Adjust so the test is immune
to such races, and also fail quicker on remote file systems.
* tests/tail-2/inotify-race2.sh: A new test using GDB,
based on inotify-race.sh, which tests the -F race
without needed recompilation with sleeps.
* tests/local.mk: Reference the new test.
* NEWS: Mention the bug.
2015-05-05 22:11:24 +01:00
|
|
|
tests/tail-2/inotify-race2.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/invalid-opt.pl \
|
|
|
|
|
tests/rm/ext3-perf.sh \
|
|
|
|
|
tests/rm/cycle.sh \
|
|
|
|
|
tests/cp/link-heap.sh \
|
2014-01-04 03:03:51 +00:00
|
|
|
tests/cp/no-ctx.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/tty-eof.pl \
|
|
|
|
|
tests/tail-2/inotify-hash-abuse.sh \
|
|
|
|
|
tests/tail-2/inotify-hash-abuse2.sh \
|
|
|
|
|
tests/tail-2/F-vs-missing.sh \
|
|
|
|
|
tests/tail-2/F-vs-rename.sh \
|
2015-06-09 00:53:35 +01:00
|
|
|
tests/tail-2/F-headers.sh \
|
2015-05-17 10:51:15 +01:00
|
|
|
tests/tail-2/descriptor-vs-rename.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/tail-2/inotify-rotate.sh \
|
2015-02-05 13:10:49 +00:00
|
|
|
tests/tail-2/inotify-rotate-resources.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/chmod/no-x.sh \
|
|
|
|
|
tests/chgrp/basic.sh \
|
|
|
|
|
tests/rm/dangling-symlink.sh \
|
|
|
|
|
tests/misc/ls-time.sh \
|
|
|
|
|
tests/rm/d-1.sh \
|
|
|
|
|
tests/rm/d-2.sh \
|
|
|
|
|
tests/rm/d-3.sh \
|
|
|
|
|
tests/rm/deep-1.sh \
|
|
|
|
|
tests/rm/deep-2.sh \
|
|
|
|
|
tests/rm/dir-no-w.sh \
|
|
|
|
|
tests/rm/dir-nonrecur.sh \
|
|
|
|
|
tests/rm/dot-rel.sh \
|
|
|
|
|
tests/rm/isatty.sh \
|
|
|
|
|
tests/rm/empty-inacc.sh \
|
|
|
|
|
tests/rm/empty-name.pl \
|
|
|
|
|
tests/rm/f-1.sh \
|
|
|
|
|
tests/rm/fail-eacces.sh \
|
|
|
|
|
tests/rm/fail-eperm.xpl \
|
|
|
|
|
tests/tail-2/assert.sh \
|
|
|
|
|
tests/rm/hash.sh \
|
|
|
|
|
tests/rm/i-1.sh \
|
|
|
|
|
tests/rm/i-never.sh \
|
|
|
|
|
tests/rm/i-no-r.sh \
|
|
|
|
|
tests/rm/ignorable.sh \
|
|
|
|
|
tests/rm/inaccessible.sh \
|
|
|
|
|
tests/rm/interactive-always.sh \
|
|
|
|
|
tests/rm/interactive-once.sh \
|
|
|
|
|
tests/rm/ir-1.sh \
|
|
|
|
|
tests/rm/one-file-system2.sh \
|
|
|
|
|
tests/rm/r-1.sh \
|
|
|
|
|
tests/rm/r-2.sh \
|
|
|
|
|
tests/rm/r-3.sh \
|
|
|
|
|
tests/rm/r-4.sh \
|
2013-11-29 09:20:22 +01:00
|
|
|
tests/rm/r-root.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/rm/readdir-bug.sh \
|
|
|
|
|
tests/rm/rm1.sh \
|
|
|
|
|
tests/touch/empty-file.sh \
|
|
|
|
|
tests/rm/rm2.sh \
|
|
|
|
|
tests/rm/rm3.sh \
|
|
|
|
|
tests/rm/rm4.sh \
|
|
|
|
|
tests/rm/rm5.sh \
|
|
|
|
|
tests/rm/sunos-1.sh \
|
|
|
|
|
tests/rm/unread2.sh \
|
|
|
|
|
tests/rm/unread3.sh \
|
|
|
|
|
tests/rm/unreadable.pl \
|
|
|
|
|
tests/rm/v-slash.sh \
|
|
|
|
|
tests/rm/many-dir-entries-vs-OOM.sh \
|
2016-06-26 19:07:45 +01:00
|
|
|
tests/rm/rm-readdir-fail.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/chgrp/default-no-deref.sh \
|
|
|
|
|
tests/chgrp/deref.sh \
|
|
|
|
|
tests/chgrp/no-x.sh \
|
|
|
|
|
tests/chgrp/posix-H.sh \
|
|
|
|
|
tests/chgrp/recurse.sh \
|
|
|
|
|
tests/fmt/base.pl \
|
|
|
|
|
tests/fmt/long-line.sh \
|
|
|
|
|
tests/fmt/goal-option.sh \
|
|
|
|
|
tests/misc/env.sh \
|
|
|
|
|
tests/misc/ptx.pl \
|
|
|
|
|
tests/misc/test.pl \
|
|
|
|
|
tests/misc/seq.pl \
|
2016-04-17 02:28:13 -04:00
|
|
|
tests/misc/seq-epipe.sh \
|
|
|
|
|
tests/misc/seq-io-errors.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/seq-long-double.sh \
|
2014-10-11 10:06:48 +01:00
|
|
|
tests/misc/seq-precision.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/head.pl \
|
|
|
|
|
tests/misc/head-elide-tail.pl \
|
|
|
|
|
tests/tail-2/tail-n0f.sh \
|
|
|
|
|
tests/misc/ls-misc.pl \
|
|
|
|
|
tests/misc/date.pl \
|
|
|
|
|
tests/misc/date-next-dow.pl \
|
|
|
|
|
tests/misc/ptx-overrun.sh \
|
|
|
|
|
tests/misc/xstrtol.pl \
|
|
|
|
|
tests/tail-2/pid.sh \
|
|
|
|
|
tests/misc/od.pl \
|
2014-01-31 17:39:52 +01:00
|
|
|
tests/misc/od-endian.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/od-float.sh \
|
|
|
|
|
tests/misc/mktemp.pl \
|
|
|
|
|
tests/misc/arch.sh \
|
|
|
|
|
tests/misc/join.pl \
|
|
|
|
|
tests/pr/pr-tests.pl \
|
|
|
|
|
tests/misc/pwd-option.sh \
|
|
|
|
|
tests/misc/chcon-fail.sh \
|
2014-06-05 19:50:32 -07:00
|
|
|
tests/misc/coreutils.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/cut.pl \
|
2012-12-09 10:43:10 +01:00
|
|
|
tests/misc/cut-huge-range.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/wc.pl \
|
|
|
|
|
tests/misc/wc-files0-from.pl \
|
|
|
|
|
tests/misc/wc-files0.sh \
|
|
|
|
|
tests/misc/wc-parallel.sh \
|
wc: don't miscount /sys and similar file systems
Fix similar problems in head, od, split, tac, and tail.
Reported by George Shuklin in: http://bugs.gnu.org/18621
* NEWS: Document this.
* src/head.c (elseek): Move up.
(elide_tail_bytes_pipe, elide_tail_lines_pipe): New arg
CURRENT_POS. All uses changed.
(elide_tail_bytes_file, elide_tail_lines_file):
New arg ST and remove arg SIZE. All uses changed.
* src/head.c (elide_tail_bytes_file):
* src/od.c (skip): Avoid optimization for /sys files, where
st_size is bogus and st_size == st_blksize.
Don't report error at EOF when not optimizing.
* src/head.c, src/od.c, src/tail.c: Include "stat-size.h".
* src/split.c (input_file_size): New function.
(bytes_split, lines_chunk_split, bytes_chunk_extract): New arg
INITIAL_READ. All uses changed. Use it to double-check st_size.
* src/tac.c (tac_seekable): New arg FILE_POS. All uses changed.
(copy_to_temp): Return size of temp file. All uses changed.
* src/tac.c (tac_seekable):
* src/tail.c (tail_bytes):
* src/wc.c (wc):
Don't trust st_size; double-check by reading.
* src/wc.c (wc): New arg CURRENT_POS. All uses changed.
* tests/local.mk (all_tests): Add tests/misc/wc-proc.sh,
tests/misc/od-j.sh, tests/tail-2/tail-c.sh.
* tests/misc/head-c.sh:
* tests/misc/tac-2-nonseekable.sh:
* tests/split/b-chunk.sh:
Add tests for problems with /proc and /sys files.
* tests/misc/od-j.sh, tests/misc/wc-proc.sh, tests/tail-2/tail-c.sh:
New files.
2014-10-07 16:46:08 -07:00
|
|
|
tests/misc/wc-proc.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/cat-proc.sh \
|
|
|
|
|
tests/misc/cat-buf.sh \
|
2014-09-11 08:45:32 -07:00
|
|
|
tests/misc/cat-self.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/base64.pl \
|
|
|
|
|
tests/misc/basename.pl \
|
|
|
|
|
tests/misc/close-stdout.sh \
|
|
|
|
|
tests/misc/chroot-fail.sh \
|
|
|
|
|
tests/misc/comm.pl \
|
|
|
|
|
tests/misc/csplit.sh \
|
|
|
|
|
tests/misc/csplit-1000.sh \
|
|
|
|
|
tests/misc/csplit-heap.sh \
|
2015-11-12 05:20:29 -05:00
|
|
|
tests/misc/csplit-io-err.sh \
|
2013-03-06 15:53:16 -05:00
|
|
|
tests/misc/csplit-suppress-matched.pl \
|
2016-09-08 01:00:23 -04:00
|
|
|
tests/misc/date-debug.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/date-sec.sh \
|
|
|
|
|
tests/misc/dircolors.pl \
|
|
|
|
|
tests/misc/dirname.pl \
|
|
|
|
|
tests/misc/env-null.sh \
|
|
|
|
|
tests/misc/expand.pl \
|
|
|
|
|
tests/misc/expr.pl \
|
|
|
|
|
tests/misc/factor.pl \
|
2014-10-15 02:18:35 +01:00
|
|
|
tests/misc/factor-parallel.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/false-status.sh \
|
|
|
|
|
tests/misc/fold.pl \
|
|
|
|
|
tests/misc/groups-dash.sh \
|
|
|
|
|
tests/misc/groups-version.sh \
|
|
|
|
|
tests/misc/head-c.sh \
|
|
|
|
|
tests/misc/head-pos.sh \
|
2014-01-29 04:42:56 +00:00
|
|
|
tests/misc/head-write-error.sh \
|
2015-12-13 18:15:07 +00:00
|
|
|
tests/misc/kill.sh \
|
2016-10-31 13:29:34 +00:00
|
|
|
tests/misc/b2sum.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/md5sum.pl \
|
|
|
|
|
tests/misc/md5sum-bsd.sh \
|
|
|
|
|
tests/misc/md5sum-newline.pl \
|
|
|
|
|
tests/misc/md5sum-parallel.sh \
|
|
|
|
|
tests/misc/mknod.sh \
|
|
|
|
|
tests/misc/nice.sh \
|
|
|
|
|
tests/misc/nice-fail.sh \
|
|
|
|
|
tests/misc/nl.sh \
|
|
|
|
|
tests/misc/nohup.sh \
|
|
|
|
|
tests/misc/nproc-avail.sh \
|
|
|
|
|
tests/misc/nproc-positive.sh \
|
2012-12-06 22:30:23 +00:00
|
|
|
tests/misc/numfmt.pl \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/od-N.sh \
|
wc: don't miscount /sys and similar file systems
Fix similar problems in head, od, split, tac, and tail.
Reported by George Shuklin in: http://bugs.gnu.org/18621
* NEWS: Document this.
* src/head.c (elseek): Move up.
(elide_tail_bytes_pipe, elide_tail_lines_pipe): New arg
CURRENT_POS. All uses changed.
(elide_tail_bytes_file, elide_tail_lines_file):
New arg ST and remove arg SIZE. All uses changed.
* src/head.c (elide_tail_bytes_file):
* src/od.c (skip): Avoid optimization for /sys files, where
st_size is bogus and st_size == st_blksize.
Don't report error at EOF when not optimizing.
* src/head.c, src/od.c, src/tail.c: Include "stat-size.h".
* src/split.c (input_file_size): New function.
(bytes_split, lines_chunk_split, bytes_chunk_extract): New arg
INITIAL_READ. All uses changed. Use it to double-check st_size.
* src/tac.c (tac_seekable): New arg FILE_POS. All uses changed.
(copy_to_temp): Return size of temp file. All uses changed.
* src/tac.c (tac_seekable):
* src/tail.c (tail_bytes):
* src/wc.c (wc):
Don't trust st_size; double-check by reading.
* src/wc.c (wc): New arg CURRENT_POS. All uses changed.
* tests/local.mk (all_tests): Add tests/misc/wc-proc.sh,
tests/misc/od-j.sh, tests/tail-2/tail-c.sh.
* tests/misc/head-c.sh:
* tests/misc/tac-2-nonseekable.sh:
* tests/split/b-chunk.sh:
Add tests for problems with /proc and /sys files.
* tests/misc/od-j.sh, tests/misc/wc-proc.sh, tests/tail-2/tail-c.sh:
New files.
2014-10-07 16:46:08 -07:00
|
|
|
tests/misc/od-j.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/od-multiple-t.sh \
|
|
|
|
|
tests/misc/od-x8.sh \
|
|
|
|
|
tests/misc/paste.pl \
|
|
|
|
|
tests/misc/pathchk1.sh \
|
|
|
|
|
tests/misc/printenv.sh \
|
|
|
|
|
tests/misc/printf.sh \
|
|
|
|
|
tests/misc/printf-cov.pl \
|
|
|
|
|
tests/misc/printf-hex.sh \
|
|
|
|
|
tests/misc/printf-surprise.sh \
|
2015-11-03 12:56:22 +00:00
|
|
|
tests/misc/printf-quote.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/pwd-long.sh \
|
|
|
|
|
tests/misc/readlink-fp-loop.sh \
|
|
|
|
|
tests/misc/readlink-root.sh \
|
|
|
|
|
tests/misc/realpath.sh \
|
|
|
|
|
tests/misc/runcon-no-reorder.sh \
|
|
|
|
|
tests/misc/sha1sum.pl \
|
|
|
|
|
tests/misc/sha1sum-vec.pl \
|
|
|
|
|
tests/misc/sha224sum.pl \
|
|
|
|
|
tests/misc/sha256sum.pl \
|
|
|
|
|
tests/misc/sha384sum.pl \
|
|
|
|
|
tests/misc/sha512sum.pl \
|
|
|
|
|
tests/misc/shred-exact.sh \
|
|
|
|
|
tests/misc/shred-passes.sh \
|
|
|
|
|
tests/misc/shred-remove.sh \
|
2014-12-16 12:36:39 +00:00
|
|
|
tests/misc/shred-size.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/shuf.sh \
|
2013-03-06 18:25:49 -05:00
|
|
|
tests/misc/shuf-reservoir.sh \
|
2016-04-20 18:26:58 +01:00
|
|
|
tests/misc/sleep.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/sort.pl \
|
|
|
|
|
tests/misc/sort-benchmark-random.sh \
|
|
|
|
|
tests/misc/sort-compress.sh \
|
|
|
|
|
tests/misc/sort-compress-hang.sh \
|
|
|
|
|
tests/misc/sort-compress-proc.sh \
|
|
|
|
|
tests/misc/sort-continue.sh \
|
|
|
|
|
tests/misc/sort-debug-keys.sh \
|
|
|
|
|
tests/misc/sort-debug-warn.sh \
|
|
|
|
|
tests/misc/sort-discrim.sh \
|
|
|
|
|
tests/misc/sort-files0-from.pl \
|
|
|
|
|
tests/misc/sort-float.sh \
|
2016-07-18 19:04:44 +02:00
|
|
|
tests/misc/sort-h-thousands-sep.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/sort-merge.pl \
|
|
|
|
|
tests/misc/sort-merge-fdlimit.sh \
|
|
|
|
|
tests/misc/sort-month.sh \
|
|
|
|
|
tests/misc/sort-exit-early.sh \
|
|
|
|
|
tests/misc/sort-rand.sh \
|
|
|
|
|
tests/misc/sort-spinlock-abuse.sh \
|
|
|
|
|
tests/misc/sort-stale-thread-mem.sh \
|
|
|
|
|
tests/misc/sort-unique.sh \
|
|
|
|
|
tests/misc/sort-unique-segv.sh \
|
|
|
|
|
tests/misc/sort-version.sh \
|
|
|
|
|
tests/misc/sort-NaN-infloop.sh \
|
|
|
|
|
tests/misc/sort-u-FMR.sh \
|
|
|
|
|
tests/split/filter.sh \
|
|
|
|
|
tests/split/suffix-auto-length.sh \
|
|
|
|
|
tests/split/suffix-length.sh \
|
|
|
|
|
tests/split/additional-suffix.sh \
|
|
|
|
|
tests/split/b-chunk.sh \
|
|
|
|
|
tests/split/fail.sh \
|
|
|
|
|
tests/split/lines.sh \
|
2013-04-20 08:46:43 +01:00
|
|
|
tests/split/line-bytes.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/split/l-chunk.sh \
|
|
|
|
|
tests/split/r-chunk.sh \
|
2015-01-07 18:30:28 -05:00
|
|
|
tests/split/record-sep.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/split/numeric.sh \
|
|
|
|
|
tests/split/guard-input.sh \
|
|
|
|
|
tests/misc/stat-birthtime.sh \
|
|
|
|
|
tests/misc/stat-fmt.sh \
|
|
|
|
|
tests/misc/stat-hyphen.sh \
|
|
|
|
|
tests/misc/stat-mount.sh \
|
|
|
|
|
tests/misc/stat-nanoseconds.sh \
|
|
|
|
|
tests/misc/stat-printf.pl \
|
|
|
|
|
tests/misc/stat-slash.sh \
|
|
|
|
|
tests/misc/stdbuf.sh \
|
|
|
|
|
tests/misc/stty.sh \
|
|
|
|
|
tests/misc/stty-invalid.sh \
|
|
|
|
|
tests/misc/stty-pairs.sh \
|
|
|
|
|
tests/misc/stty-row-col.sh \
|
|
|
|
|
tests/misc/sum.pl \
|
|
|
|
|
tests/misc/sum-sysv.sh \
|
2015-01-25 01:33:45 +01:00
|
|
|
tests/misc/sync.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/tac.pl \
|
|
|
|
|
tests/misc/tac-continue.sh \
|
|
|
|
|
tests/misc/tac-2-nonseekable.sh \
|
|
|
|
|
tests/misc/tail.pl \
|
|
|
|
|
tests/misc/tee.sh \
|
|
|
|
|
tests/misc/test-diag.pl \
|
2016-03-17 10:35:18 -07:00
|
|
|
tests/misc/time-style.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/timeout.sh \
|
2013-01-25 02:48:46 +00:00
|
|
|
tests/misc/timeout-blocked.pl \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/misc/timeout-group.sh \
|
|
|
|
|
tests/misc/timeout-parameters.sh \
|
|
|
|
|
tests/misc/tr.pl \
|
|
|
|
|
tests/misc/tr-case-class.sh \
|
|
|
|
|
tests/misc/truncate-dangling-symlink.sh \
|
|
|
|
|
tests/misc/truncate-dir-fail.sh \
|
|
|
|
|
tests/misc/truncate-fail-diag.sh \
|
|
|
|
|
tests/misc/truncate-fifo.sh \
|
|
|
|
|
tests/misc/truncate-no-create-missing.sh \
|
|
|
|
|
tests/misc/truncate-overflow.sh \
|
|
|
|
|
tests/misc/truncate-parameters.sh \
|
|
|
|
|
tests/misc/truncate-relative.sh \
|
|
|
|
|
tests/misc/tsort.pl \
|
|
|
|
|
tests/misc/unexpand.pl \
|
|
|
|
|
tests/misc/uniq.pl \
|
|
|
|
|
tests/misc/uniq-perf.sh \
|
|
|
|
|
tests/misc/xattr.sh \
|
2015-03-09 19:27:32 +00:00
|
|
|
tests/misc/yes.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/tail-2/wait.sh \
|
2013-09-13 17:31:24 +02:00
|
|
|
tests/tail-2/retry.sh \
|
2015-01-07 18:30:28 -05:00
|
|
|
tests/tail-2/symlink.sh \
|
wc: don't miscount /sys and similar file systems
Fix similar problems in head, od, split, tac, and tail.
Reported by George Shuklin in: http://bugs.gnu.org/18621
* NEWS: Document this.
* src/head.c (elseek): Move up.
(elide_tail_bytes_pipe, elide_tail_lines_pipe): New arg
CURRENT_POS. All uses changed.
(elide_tail_bytes_file, elide_tail_lines_file):
New arg ST and remove arg SIZE. All uses changed.
* src/head.c (elide_tail_bytes_file):
* src/od.c (skip): Avoid optimization for /sys files, where
st_size is bogus and st_size == st_blksize.
Don't report error at EOF when not optimizing.
* src/head.c, src/od.c, src/tail.c: Include "stat-size.h".
* src/split.c (input_file_size): New function.
(bytes_split, lines_chunk_split, bytes_chunk_extract): New arg
INITIAL_READ. All uses changed. Use it to double-check st_size.
* src/tac.c (tac_seekable): New arg FILE_POS. All uses changed.
(copy_to_temp): Return size of temp file. All uses changed.
* src/tac.c (tac_seekable):
* src/tail.c (tail_bytes):
* src/wc.c (wc):
Don't trust st_size; double-check by reading.
* src/wc.c (wc): New arg CURRENT_POS. All uses changed.
* tests/local.mk (all_tests): Add tests/misc/wc-proc.sh,
tests/misc/od-j.sh, tests/tail-2/tail-c.sh.
* tests/misc/head-c.sh:
* tests/misc/tac-2-nonseekable.sh:
* tests/split/b-chunk.sh:
Add tests for problems with /proc and /sys files.
* tests/misc/od-j.sh, tests/misc/wc-proc.sh, tests/tail-2/tail-c.sh:
New files.
2014-10-07 16:46:08 -07:00
|
|
|
tests/tail-2/tail-c.sh \
|
2015-05-11 14:25:19 +01:00
|
|
|
tests/tail-2/truncate.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/chmod/c-option.sh \
|
|
|
|
|
tests/chmod/equal-x.sh \
|
|
|
|
|
tests/chmod/equals.sh \
|
|
|
|
|
tests/chmod/inaccessible.sh \
|
|
|
|
|
tests/chmod/octal.sh \
|
|
|
|
|
tests/chmod/setgid.sh \
|
|
|
|
|
tests/chmod/silent.sh \
|
|
|
|
|
tests/chmod/thru-dangling.sh \
|
|
|
|
|
tests/chmod/umask-x.sh \
|
|
|
|
|
tests/chmod/usage.sh \
|
|
|
|
|
tests/chown/deref.sh \
|
|
|
|
|
tests/chown/preserve-root.sh \
|
|
|
|
|
tests/chown/separator.sh \
|
|
|
|
|
tests/cp/abuse.sh \
|
|
|
|
|
tests/cp/acl.sh \
|
|
|
|
|
tests/cp/attr-existing.sh \
|
|
|
|
|
tests/cp/backup-1.sh \
|
|
|
|
|
tests/cp/backup-dir.sh \
|
|
|
|
|
tests/cp/backup-is-src.sh \
|
|
|
|
|
tests/cp/cp-HL.sh \
|
|
|
|
|
tests/cp/cp-deref.sh \
|
|
|
|
|
tests/cp/cp-i.sh \
|
|
|
|
|
tests/cp/cp-mv-backup.sh \
|
|
|
|
|
tests/cp/cp-parents.sh \
|
|
|
|
|
tests/cp/deref-slink.sh \
|
|
|
|
|
tests/cp/dir-rm-dest.sh \
|
|
|
|
|
tests/cp/dir-slash.sh \
|
|
|
|
|
tests/cp/dir-vs-file.sh \
|
|
|
|
|
tests/cp/existing-perm-dir.sh \
|
|
|
|
|
tests/cp/existing-perm-race.sh \
|
|
|
|
|
tests/cp/fail-perm.sh \
|
2015-10-30 22:04:46 +00:00
|
|
|
tests/cp/fiemap-extents.sh \
|
2012-10-16 17:43:49 +02:00
|
|
|
tests/cp/fiemap-FMR.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/cp/fiemap-perf.sh \
|
|
|
|
|
tests/cp/fiemap-2.sh \
|
|
|
|
|
tests/cp/file-perm-race.sh \
|
|
|
|
|
tests/cp/into-self.sh \
|
|
|
|
|
tests/cp/link.sh \
|
2013-11-07 23:35:52 +01:00
|
|
|
tests/cp/link-deref.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/cp/link-no-deref.sh \
|
|
|
|
|
tests/cp/link-preserve.sh \
|
|
|
|
|
tests/cp/link-symlink.sh \
|
|
|
|
|
tests/cp/nfs-removal-race.sh \
|
|
|
|
|
tests/cp/no-deref-link1.sh \
|
|
|
|
|
tests/cp/no-deref-link2.sh \
|
|
|
|
|
tests/cp/no-deref-link3.sh \
|
|
|
|
|
tests/cp/parent-perm.sh \
|
|
|
|
|
tests/cp/parent-perm-race.sh \
|
|
|
|
|
tests/cp/perm.sh \
|
|
|
|
|
tests/cp/preserve-2.sh \
|
|
|
|
|
tests/cp/preserve-link.sh \
|
2012-08-07 16:56:52 +02:00
|
|
|
tests/cp/preserve-mode.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/cp/preserve-slink-time.sh \
|
|
|
|
|
tests/cp/proc-short-read.sh \
|
|
|
|
|
tests/cp/proc-zero-len.sh \
|
|
|
|
|
tests/cp/r-vs-symlink.sh \
|
|
|
|
|
tests/cp/reflink-auto.sh \
|
|
|
|
|
tests/cp/reflink-perm.sh \
|
|
|
|
|
tests/cp/same-file.sh \
|
|
|
|
|
tests/cp/slink-2-slink.sh \
|
|
|
|
|
tests/cp/sparse.sh \
|
|
|
|
|
tests/cp/sparse-to-pipe.sh \
|
|
|
|
|
tests/cp/special-f.sh \
|
|
|
|
|
tests/cp/src-base-dot.sh \
|
|
|
|
|
tests/cp/symlink-slash.sh \
|
|
|
|
|
tests/cp/thru-dangling.sh \
|
|
|
|
|
tests/df/header.sh \
|
|
|
|
|
tests/df/df-P.sh \
|
2012-09-23 22:29:25 +02:00
|
|
|
tests/df/df-output.sh \
|
2013-12-03 23:36:02 +00:00
|
|
|
tests/df/df-symlink.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/df/unreadable.sh \
|
|
|
|
|
tests/df/total-unprocessed.sh \
|
|
|
|
|
tests/df/no-mtab-status.sh \
|
2012-12-07 21:10:40 +01:00
|
|
|
tests/df/skip-duplicates.sh \
|
|
|
|
|
tests/df/skip-rootfs.sh \
|
2014-05-06 18:38:09 -07:00
|
|
|
tests/dd/ascii.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/dd/direct.sh \
|
|
|
|
|
tests/dd/misc.sh \
|
2015-01-07 18:30:28 -05:00
|
|
|
tests/dd/no-allocate.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/dd/nocache.sh \
|
|
|
|
|
tests/dd/not-rewound.sh \
|
|
|
|
|
tests/dd/reblock.sh \
|
|
|
|
|
tests/dd/skip-seek.pl \
|
|
|
|
|
tests/dd/skip-seek2.sh \
|
|
|
|
|
tests/dd/bytes.sh \
|
|
|
|
|
tests/dd/skip-seek-past-file.sh \
|
|
|
|
|
tests/dd/sparse.sh \
|
|
|
|
|
tests/dd/stderr.sh \
|
|
|
|
|
tests/dd/unblock.pl \
|
|
|
|
|
tests/dd/unblock-sync.sh \
|
2014-09-26 15:46:28 +01:00
|
|
|
tests/dd/stats.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/df/total-verify.sh \
|
|
|
|
|
tests/du/2g.sh \
|
|
|
|
|
tests/du/8gb.sh \
|
|
|
|
|
tests/du/basic.sh \
|
|
|
|
|
tests/du/bigtime.sh \
|
|
|
|
|
tests/du/deref.sh \
|
|
|
|
|
tests/du/deref-args.sh \
|
|
|
|
|
tests/du/exclude.sh \
|
|
|
|
|
tests/du/fd-leak.sh \
|
|
|
|
|
tests/du/files0-from.pl \
|
|
|
|
|
tests/du/files0-from-dir.sh \
|
|
|
|
|
tests/du/hard-link.sh \
|
|
|
|
|
tests/du/inacc-dest.sh \
|
|
|
|
|
tests/du/inacc-dir.sh \
|
|
|
|
|
tests/du/inaccessible-cwd.sh \
|
2013-07-27 14:25:28 +02:00
|
|
|
tests/du/inodes.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/du/long-from-unreadable.sh \
|
|
|
|
|
tests/du/long-sloop.sh \
|
|
|
|
|
tests/du/max-depth.sh \
|
|
|
|
|
tests/du/move-dir-while-traversing.sh \
|
|
|
|
|
tests/du/no-deref.sh \
|
|
|
|
|
tests/du/no-x.sh \
|
|
|
|
|
tests/du/one-file-system.sh \
|
|
|
|
|
tests/du/restore-wd.sh \
|
|
|
|
|
tests/du/slash.sh \
|
2013-01-21 06:29:12 +01:00
|
|
|
tests/du/threshold.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/du/trailing-slash.sh \
|
|
|
|
|
tests/du/two-args.sh \
|
|
|
|
|
tests/id/gnu-zero-uids.sh \
|
|
|
|
|
tests/id/no-context.sh \
|
2013-09-22 04:15:34 +01:00
|
|
|
tests/id/context.sh \
|
|
|
|
|
tests/id/uid.sh \
|
|
|
|
|
tests/id/zero.sh \
|
2013-12-31 18:09:14 +02:00
|
|
|
tests/id/smack.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/install/basic-1.sh \
|
|
|
|
|
tests/install/create-leading.sh \
|
|
|
|
|
tests/install/d-slashdot.sh \
|
|
|
|
|
tests/install/install-C.sh \
|
|
|
|
|
tests/install/install-C-selinux.sh \
|
2016-07-08 18:59:35 +02:00
|
|
|
tests/install/install-Z-selinux.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/install/strip-program.sh \
|
|
|
|
|
tests/install/trap.sh \
|
|
|
|
|
tests/ln/backup-1.sh \
|
|
|
|
|
tests/ln/hard-backup.sh \
|
|
|
|
|
tests/ln/hard-to-sym.sh \
|
|
|
|
|
tests/ln/misc.sh \
|
|
|
|
|
tests/ln/relative.sh \
|
|
|
|
|
tests/ln/sf-1.sh \
|
|
|
|
|
tests/ln/slash-decorated-nonexistent-dest.sh \
|
|
|
|
|
tests/ln/target-1.sh \
|
|
|
|
|
tests/ls/abmon-align.sh \
|
|
|
|
|
tests/ls/block-size.sh \
|
|
|
|
|
tests/ls/color-clear-to-eol.sh \
|
|
|
|
|
tests/ls/color-dtype-dir.sh \
|
|
|
|
|
tests/ls/color-norm.sh \
|
2014-04-16 16:38:49 +01:00
|
|
|
tests/ls/color-term.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/ls/dangle.sh \
|
|
|
|
|
tests/ls/dired.sh \
|
|
|
|
|
tests/ls/file-type.sh \
|
|
|
|
|
tests/ls/follow-slink.sh \
|
|
|
|
|
tests/ls/getxattr-speedup.sh \
|
2014-12-16 12:36:39 +00:00
|
|
|
tests/ls/hex-option.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/ls/infloop.sh \
|
|
|
|
|
tests/ls/inode.sh \
|
|
|
|
|
tests/ls/m-option.sh \
|
2015-10-20 14:42:39 +01:00
|
|
|
tests/ls/w-option.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/ls/multihardlink.sh \
|
|
|
|
|
tests/ls/no-arg.sh \
|
|
|
|
|
tests/ls/no-cap.sh \
|
|
|
|
|
tests/ls/proc-selinux-segfault.sh \
|
ls: improve alignment of quoted names
This provides better alignment when some names are quoted,
which also provides better indication that quotes are not
part of the name.
* src/ls.c (align_variable_outer_quotes): A new variable
set when ls is aligning columns (not using -m, non-zero -w),
and has a variable quoting style (shell, shell-escape, c-maybe).
(quote_name_buf): Writes to buffer rather than FILE,
taking care to avoid data copying if possible. Refactored from...
(quote_name): ...here. This now manages the buffer passed
to quote_name_buf() and outputs the padding, colors and name
in the appropriate order, while managing the --dired offsets.
(get_color_indicator): A new function to return the color sequence,
refactored from...
(print_color_indicator): ...here. This now simply outputs.
(print_dir): Refactor common parts to quote_name().
(clear_files): Reset the flag indicating at least one
file is quoted in the current directory.
(needs_quoting): A new function to indicate at the scan stage
whether a name needs quoting. Called from...
(gobble_file): ...here, until we find the first quoted file.
(print_name_with_quoting): Mostly refactored to quote_name().
* tests/ls/quote-align.sh: A new test for various output formats.
* tests/local.mk: Reference the new test.
* NEWS: Mention the improvement.
2016-02-18 20:07:23 -08:00
|
|
|
tests/ls/quote-align.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/ls/readdir-mountpoint-inode.sh \
|
|
|
|
|
tests/ls/recursive.sh \
|
|
|
|
|
tests/ls/root-rel-symlink-color.sh \
|
|
|
|
|
tests/ls/rt-1.sh \
|
|
|
|
|
tests/ls/slink-acl.sh \
|
|
|
|
|
tests/ls/stat-dtype.sh \
|
|
|
|
|
tests/ls/stat-failed.sh \
|
|
|
|
|
tests/ls/stat-free-color.sh \
|
|
|
|
|
tests/ls/stat-free-symlinks.sh \
|
|
|
|
|
tests/ls/stat-vs-dirent.sh \
|
|
|
|
|
tests/ls/symlink-slash.sh \
|
|
|
|
|
tests/ls/time-style-diag.sh \
|
|
|
|
|
tests/ls/x-option.sh \
|
|
|
|
|
tests/mkdir/p-1.sh \
|
|
|
|
|
tests/mkdir/p-2.sh \
|
|
|
|
|
tests/mkdir/p-3.sh \
|
2013-05-11 19:17:10 -07:00
|
|
|
tests/mkdir/p-acl.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/mkdir/p-slashdot.sh \
|
|
|
|
|
tests/mkdir/p-thru-slink.sh \
|
|
|
|
|
tests/mkdir/p-v.sh \
|
|
|
|
|
tests/mkdir/parents.sh \
|
|
|
|
|
tests/mkdir/perm.sh \
|
|
|
|
|
tests/mkdir/selinux.sh \
|
selinux: adjust utils to run restorecon with -Z
cp, mv, install, mkdir, mkfifo, mknod are adjusted so that:
-Z no longer accepts an argument.
-Z or --context without an argument do not warn without SELinux.
--context with an argument will warn without SELinux.
* src/local.mk: Reference the new selinux module where required.
* src/system.h: Make the argument to --context optional.
* src/mkdir.c: Likewise. Also handle the SMACK case for --context.
Note we currently silently ignore -Z with SMACK.
* src/mkfifo.c: Likewise.
* src/mknod.c: Likewise.
* src/install.c: Likewise. Note install(1) by default already
set the context for target files to their system default,
albeit with an older method. Use the -Z option to select between
the old and new context restoration behavior, and document
the differences and details for how context restoration
is done in new and old methods, with a view disabling the
old method entirely in future.
* src/cp.c: Make the argument to --context optional.
Note -Z implies --no-preserve=context. I.E. -Z overrides
that aspect of -a no matter what order specified.
(struct cp_options): Document the context handling options.
(main): Check/adjust option combinations after all
options are processed, to both simplify processing
and to make handling independent of order of options
on the command line. Also improve the diagnostics
from a failed call to setfscreatecon().
(set_process_security_ctx): A new function,
refactored to set the default context from the source file,
or with the type adjusted as per the system default for
the destination path.
(set_file_security_ctx): A new function refactored to
set the security context of an existing file, either based on
the process context or the default system context for a path.
(copy_internal): Use the refactored functions to simplify
error handling and consistently fail or warn as needed.
(copy_reg): Likewise.
(copy_internal): With --preserve=context, also copy
context from non regular files. Note for directories this may
impact the copying of subsequent files to that directory?
(copy_attr): If we're handling SELinux explicitly,
then exclude to avoid the redudant copy with --preserve=context,
and the problematic copy with -Z. Note SELinux attribute exclusion
also now honors cp -a --no-preserve=context. Note there was a
very small window over 10 years ago, where attr_copy_file was
available, while attr_copy_check_permissions was not, so we
don't bother adding an explicit m4 check for the latter function.
* src/mv.c: Support --context, but don't allow specifying an argument.
* src/chcon.c: Adjust a comment to be specific to SELinux.
* src/runcon.c: Likewise.
* src/copy.c: Honor the context settings to "restorecon" as appropriate.
* src/copy.h: Add a new setting to select "restorecon" functionality.
* tests/mkdir/selinux.sh: s/-Z/--context=/
* tests/cp/cp-a-selinux.sh: Augment this test with cases
testing basic -Z functionality, and also test the various
invalid option combinations and option precedence.
* tests/mkdir/restorecon.sh: Add a new test for the
more involved mkdir -Z handling, since the directory changing
and non existent directories need to be specially handled.
Also check the similar but simpler handling of -Z by mk{nod,fifo}.
* tests/local.mk: Reference the new test.
* doc/coreutils.texi (cp invocation): Update as per interface changes.
(mv invocation): Likewise.
(install invocation): Likewise.
(mkfifo invocation): Likewise.
(mknod invocation): Likewise.
(mkdir invocation): Likewise.
* NEWS: Mention the new feature and change in behavior.
2013-11-27 12:26:51 +00:00
|
|
|
tests/mkdir/restorecon.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/mkdir/special-1.sh \
|
|
|
|
|
tests/mkdir/t-slash.sh \
|
2013-12-31 18:09:14 +02:00
|
|
|
tests/mkdir/smack-no-root.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/mv/acl.sh \
|
|
|
|
|
tests/mv/atomic.sh \
|
|
|
|
|
tests/mv/atomic2.sh \
|
|
|
|
|
tests/mv/backup-dir.sh \
|
|
|
|
|
tests/mv/backup-is-src.sh \
|
|
|
|
|
tests/mv/childproof.sh \
|
|
|
|
|
tests/mv/diag.sh \
|
|
|
|
|
tests/mv/dir-file.sh \
|
|
|
|
|
tests/mv/dir2dir.sh \
|
|
|
|
|
tests/mv/dup-source.sh \
|
|
|
|
|
tests/mv/force.sh \
|
|
|
|
|
tests/mv/hard-2.sh \
|
|
|
|
|
tests/mv/hard-3.sh \
|
|
|
|
|
tests/mv/hard-4.sh \
|
|
|
|
|
tests/mv/hard-link-1.sh \
|
|
|
|
|
tests/mv/i-1.pl \
|
|
|
|
|
tests/mv/i-2.sh \
|
|
|
|
|
tests/mv/i-3.sh \
|
|
|
|
|
tests/mv/i-4.sh \
|
|
|
|
|
tests/mv/i-5.sh \
|
|
|
|
|
tests/mv/i-link-no.sh \
|
|
|
|
|
tests/mv/into-self.sh \
|
|
|
|
|
tests/mv/into-self-2.sh \
|
|
|
|
|
tests/mv/into-self-3.sh \
|
|
|
|
|
tests/mv/into-self-4.sh \
|
|
|
|
|
tests/mv/leak-fd.sh \
|
|
|
|
|
tests/mv/mv-n.sh \
|
|
|
|
|
tests/mv/mv-special-1.sh \
|
|
|
|
|
tests/mv/no-target-dir.sh \
|
|
|
|
|
tests/mv/part-fail.sh \
|
|
|
|
|
tests/mv/part-hardlink.sh \
|
|
|
|
|
tests/mv/part-rename.sh \
|
|
|
|
|
tests/mv/part-symlink.sh \
|
|
|
|
|
tests/mv/partition-perm.sh \
|
|
|
|
|
tests/mv/perm-1.sh \
|
|
|
|
|
tests/mv/symlink-onto-hardlink.sh \
|
|
|
|
|
tests/mv/symlink-onto-hardlink-to-self.sh \
|
|
|
|
|
tests/mv/to-symlink.sh \
|
|
|
|
|
tests/mv/trailing-slash.sh \
|
|
|
|
|
tests/mv/update.sh \
|
|
|
|
|
tests/readlink/can-e.sh \
|
|
|
|
|
tests/readlink/can-f.sh \
|
|
|
|
|
tests/readlink/can-m.sh \
|
2012-12-12 19:54:12 +00:00
|
|
|
tests/readlink/multi.sh \
|
2012-09-02 21:55:12 +02:00
|
|
|
tests/readlink/rl-1.sh \
|
|
|
|
|
tests/rmdir/fail-perm.sh \
|
|
|
|
|
tests/rmdir/ignore.sh \
|
|
|
|
|
tests/rmdir/t-slash.sh \
|
|
|
|
|
tests/tail-2/assert-2.sh \
|
|
|
|
|
tests/tail-2/big-4gb.sh \
|
|
|
|
|
tests/tail-2/flush-initial.sh \
|
|
|
|
|
tests/tail-2/follow-name.sh \
|
|
|
|
|
tests/tail-2/follow-stdin.sh \
|
|
|
|
|
tests/tail-2/pipe-f.sh \
|
|
|
|
|
tests/tail-2/pipe-f2.sh \
|
|
|
|
|
tests/tail-2/proc-ksyms.sh \
|
|
|
|
|
tests/tail-2/start-middle.sh \
|
|
|
|
|
tests/touch/60-seconds.sh \
|
|
|
|
|
tests/touch/dangling-symlink.sh \
|
|
|
|
|
tests/touch/dir-1.sh \
|
|
|
|
|
tests/touch/fail-diag.sh \
|
|
|
|
|
tests/touch/fifo.sh \
|
|
|
|
|
tests/touch/no-create-missing.sh \
|
|
|
|
|
tests/touch/no-dereference.sh \
|
|
|
|
|
tests/touch/no-rights.sh \
|
|
|
|
|
tests/touch/not-owner.sh \
|
|
|
|
|
tests/touch/obsolescent.sh \
|
|
|
|
|
tests/touch/read-only.sh \
|
|
|
|
|
tests/touch/relative.sh \
|
|
|
|
|
tests/touch/trailing-slash.sh \
|
|
|
|
|
$(all_root_tests)
|
|
|
|
|
|
2012-10-27 13:24:18 +02:00
|
|
|
# See tests/factor/create-test.sh.
|
factor: merge with preexisting factor; integrate tests; avoid warnings
* src/factor.c: Renamed from factor-ng.c, with the following changes:
Adjust copyright header to be consistent with others.
Use xmalloc and xrealloc, to avoid segv upon OOM.
Switch back to using readtokens to handle input.
Diagnose invalid inputs.
s/fprintf+exit/error/
(print_factors): Add comments.
(strto2uintmax): Return strtol_error, not int.
(read_item): Remove, no longer used.
(main): Use atexit(close_stdout) so that we don't ignore failed write.
* cfg.mk: Exempt src/longlong.h from several tests.
Exempt run.sh from the test-list-consistency test.
Exempt make-prime-list.c from numerous tests, since we won't
be making it conform: it must not link with libcoreutils.a.
Exempt factor-ng.c from the no-upper-case error message test.
* AUTHORS (factor): Add Torbjörn and Niels.
* tests/local.mk (factor_tests): Encode the 37 tests.
($(factor_tests)): Rule to generate a test script for each test.
* tests/factor/run.sh: New script, marked as very expensive.
* .gitignore: Ignore new generated files.
* src/local.mk (src/primes.h): New rule.
(noinst_PROGRAMS): Add make-prime-list.
(noinst_HEADERS): Add longlong.h.
Remove all wheel-related rules and files.
* src/wheel-gen.pl: Remove file.
maint: mark set-but-not-used variables with ATTRIBUTE_UNUSED
* src/factor-ng.c (redcify, prime_p, isqrt2): Mark them, so we
don't have to disable -Wunused-but-set-variable.
maint: use __builtin_expect only if __GNUC__
* src/factor-ng.c (LIKELY, UNLIKELY) [__GNUC__]: Add #ifdef guard.
build: avoid warning about unused macro
* src/factor-ng.c (__GMP_DECLSPEC): Don't define here
* src/longlong.h (__GMP_DECLSPEC): Define if not already defined.
2012-09-16 22:31:04 +02:00
|
|
|
tf = tests/factor
|
|
|
|
|
factor_tests = \
|
2012-10-27 13:24:18 +02:00
|
|
|
$(tf)/t00.sh $(tf)/t01.sh $(tf)/t02.sh $(tf)/t03.sh $(tf)/t04.sh \
|
|
|
|
|
$(tf)/t05.sh $(tf)/t06.sh $(tf)/t07.sh $(tf)/t08.sh $(tf)/t09.sh \
|
|
|
|
|
$(tf)/t10.sh $(tf)/t11.sh $(tf)/t12.sh $(tf)/t13.sh $(tf)/t14.sh \
|
|
|
|
|
$(tf)/t15.sh $(tf)/t16.sh $(tf)/t17.sh $(tf)/t18.sh $(tf)/t19.sh \
|
|
|
|
|
$(tf)/t20.sh $(tf)/t21.sh $(tf)/t22.sh $(tf)/t23.sh $(tf)/t24.sh \
|
|
|
|
|
$(tf)/t25.sh $(tf)/t26.sh $(tf)/t27.sh $(tf)/t28.sh $(tf)/t29.sh \
|
|
|
|
|
$(tf)/t30.sh $(tf)/t31.sh $(tf)/t32.sh $(tf)/t33.sh $(tf)/t34.sh \
|
|
|
|
|
$(tf)/t35.sh $(tf)/t36.sh
|
factor: merge with preexisting factor; integrate tests; avoid warnings
* src/factor.c: Renamed from factor-ng.c, with the following changes:
Adjust copyright header to be consistent with others.
Use xmalloc and xrealloc, to avoid segv upon OOM.
Switch back to using readtokens to handle input.
Diagnose invalid inputs.
s/fprintf+exit/error/
(print_factors): Add comments.
(strto2uintmax): Return strtol_error, not int.
(read_item): Remove, no longer used.
(main): Use atexit(close_stdout) so that we don't ignore failed write.
* cfg.mk: Exempt src/longlong.h from several tests.
Exempt run.sh from the test-list-consistency test.
Exempt make-prime-list.c from numerous tests, since we won't
be making it conform: it must not link with libcoreutils.a.
Exempt factor-ng.c from the no-upper-case error message test.
* AUTHORS (factor): Add Torbjörn and Niels.
* tests/local.mk (factor_tests): Encode the 37 tests.
($(factor_tests)): Rule to generate a test script for each test.
* tests/factor/run.sh: New script, marked as very expensive.
* .gitignore: Ignore new generated files.
* src/local.mk (src/primes.h): New rule.
(noinst_PROGRAMS): Add make-prime-list.
(noinst_HEADERS): Add longlong.h.
Remove all wheel-related rules and files.
* src/wheel-gen.pl: Remove file.
maint: mark set-but-not-used variables with ATTRIBUTE_UNUSED
* src/factor-ng.c (redcify, prime_p, isqrt2): Mark them, so we
don't have to disable -Wunused-but-set-variable.
maint: use __builtin_expect only if __GNUC__
* src/factor-ng.c (LIKELY, UNLIKELY) [__GNUC__]: Add #ifdef guard.
build: avoid warning about unused macro
* src/factor-ng.c (__GMP_DECLSPEC): Don't define here
* src/longlong.h (__GMP_DECLSPEC): Define if not already defined.
2012-09-16 22:31:04 +02:00
|
|
|
|
2012-10-27 13:24:18 +02:00
|
|
|
$(factor_tests): $(tf)/run.sh $(tf)/create-test.sh
|
factor: merge with preexisting factor; integrate tests; avoid warnings
* src/factor.c: Renamed from factor-ng.c, with the following changes:
Adjust copyright header to be consistent with others.
Use xmalloc and xrealloc, to avoid segv upon OOM.
Switch back to using readtokens to handle input.
Diagnose invalid inputs.
s/fprintf+exit/error/
(print_factors): Add comments.
(strto2uintmax): Return strtol_error, not int.
(read_item): Remove, no longer used.
(main): Use atexit(close_stdout) so that we don't ignore failed write.
* cfg.mk: Exempt src/longlong.h from several tests.
Exempt run.sh from the test-list-consistency test.
Exempt make-prime-list.c from numerous tests, since we won't
be making it conform: it must not link with libcoreutils.a.
Exempt factor-ng.c from the no-upper-case error message test.
* AUTHORS (factor): Add Torbjörn and Niels.
* tests/local.mk (factor_tests): Encode the 37 tests.
($(factor_tests)): Rule to generate a test script for each test.
* tests/factor/run.sh: New script, marked as very expensive.
* .gitignore: Ignore new generated files.
* src/local.mk (src/primes.h): New rule.
(noinst_PROGRAMS): Add make-prime-list.
(noinst_HEADERS): Add longlong.h.
Remove all wheel-related rules and files.
* src/wheel-gen.pl: Remove file.
maint: mark set-but-not-used variables with ATTRIBUTE_UNUSED
* src/factor-ng.c (redcify, prime_p, isqrt2): Mark them, so we
don't have to disable -Wunused-but-set-variable.
maint: use __builtin_expect only if __GNUC__
* src/factor-ng.c (LIKELY, UNLIKELY) [__GNUC__]: Add #ifdef guard.
build: avoid warning about unused macro
* src/factor-ng.c (__GMP_DECLSPEC): Don't define here
* src/longlong.h (__GMP_DECLSPEC): Define if not already defined.
2012-09-16 22:31:04 +02:00
|
|
|
$(AM_V_GEN)$(MKDIR_P) $(tf)
|
2012-10-27 13:24:18 +02:00
|
|
|
$(AM_V_at)$(SHELL) $(srcdir)/$(tf)/create-test.sh $@ \
|
|
|
|
|
$(srcdir)/$(tf)/run.sh > $@-t
|
|
|
|
|
$(AM_V_at)chmod a+x $@-t
|
2013-11-26 13:37:50 +00:00
|
|
|
$(AM_V_at)mv -f $@-t $@
|
factor: merge with preexisting factor; integrate tests; avoid warnings
* src/factor.c: Renamed from factor-ng.c, with the following changes:
Adjust copyright header to be consistent with others.
Use xmalloc and xrealloc, to avoid segv upon OOM.
Switch back to using readtokens to handle input.
Diagnose invalid inputs.
s/fprintf+exit/error/
(print_factors): Add comments.
(strto2uintmax): Return strtol_error, not int.
(read_item): Remove, no longer used.
(main): Use atexit(close_stdout) so that we don't ignore failed write.
* cfg.mk: Exempt src/longlong.h from several tests.
Exempt run.sh from the test-list-consistency test.
Exempt make-prime-list.c from numerous tests, since we won't
be making it conform: it must not link with libcoreutils.a.
Exempt factor-ng.c from the no-upper-case error message test.
* AUTHORS (factor): Add Torbjörn and Niels.
* tests/local.mk (factor_tests): Encode the 37 tests.
($(factor_tests)): Rule to generate a test script for each test.
* tests/factor/run.sh: New script, marked as very expensive.
* .gitignore: Ignore new generated files.
* src/local.mk (src/primes.h): New rule.
(noinst_PROGRAMS): Add make-prime-list.
(noinst_HEADERS): Add longlong.h.
Remove all wheel-related rules and files.
* src/wheel-gen.pl: Remove file.
maint: mark set-but-not-used variables with ATTRIBUTE_UNUSED
* src/factor-ng.c (redcify, prime_p, isqrt2): Mark them, so we
don't have to disable -Wunused-but-set-variable.
maint: use __builtin_expect only if __GNUC__
* src/factor-ng.c (LIKELY, UNLIKELY) [__GNUC__]: Add #ifdef guard.
build: avoid warning about unused macro
* src/factor-ng.c (__GMP_DECLSPEC): Don't define here
* src/longlong.h (__GMP_DECLSPEC): Define if not already defined.
2012-09-16 22:31:04 +02:00
|
|
|
|
|
|
|
|
CLEANFILES += $(factor_tests)
|
|
|
|
|
|
2012-09-02 21:55:12 +02:00
|
|
|
pr_data = \
|
|
|
|
|
tests/pr/0F \
|
|
|
|
|
tests/pr/0FF \
|
|
|
|
|
tests/pr/0FFnt \
|
|
|
|
|
tests/pr/0FFt \
|
|
|
|
|
tests/pr/0FnFnt \
|
|
|
|
|
tests/pr/0FnFt \
|
|
|
|
|
tests/pr/0Fnt \
|
|
|
|
|
tests/pr/0Ft \
|
|
|
|
|
tests/pr/2-S_f-t_notab \
|
|
|
|
|
tests/pr/2-Sf-t_notab \
|
|
|
|
|
tests/pr/2f-t_notab \
|
|
|
|
|
tests/pr/2s_f-t_notab \
|
|
|
|
|
tests/pr/2s_w60f-t_nota \
|
|
|
|
|
tests/pr/2sf-t_notab \
|
|
|
|
|
tests/pr/2sw60f-t_notab \
|
|
|
|
|
tests/pr/2w60f-t_notab \
|
|
|
|
|
tests/pr/3-0F \
|
|
|
|
|
tests/pr/3-5l24f-t \
|
|
|
|
|
tests/pr/3-FF \
|
|
|
|
|
tests/pr/3a2l17-FF \
|
|
|
|
|
tests/pr/3a3f-0F \
|
|
|
|
|
tests/pr/3a3l15-t \
|
|
|
|
|
tests/pr/3a3l15f-t \
|
|
|
|
|
tests/pr/3b2l17-FF \
|
|
|
|
|
tests/pr/3b3f-0F \
|
|
|
|
|
tests/pr/3b3f-0FF \
|
|
|
|
|
tests/pr/3b3f-FF \
|
|
|
|
|
tests/pr/3b3l15-t \
|
|
|
|
|
tests/pr/3b3l15f-t \
|
|
|
|
|
tests/pr/3f-0F \
|
|
|
|
|
tests/pr/3f-FF \
|
|
|
|
|
tests/pr/3l24-t \
|
|
|
|
|
tests/pr/3l24f-t \
|
|
|
|
|
tests/pr/3ml24-FF \
|
|
|
|
|
tests/pr/3ml24-t \
|
|
|
|
|
tests/pr/3ml24-t-FF \
|
|
|
|
|
tests/pr/3ml24f-t \
|
|
|
|
|
tests/pr/4-7l24-FF \
|
|
|
|
|
tests/pr/4l24-FF \
|
|
|
|
|
tests/pr/FF \
|
|
|
|
|
tests/pr/FFn \
|
|
|
|
|
tests/pr/FFtn \
|
|
|
|
|
tests/pr/FnFn \
|
|
|
|
|
tests/pr/Ja3l24f-lm \
|
|
|
|
|
tests/pr/Jb3l24f-lm \
|
|
|
|
|
tests/pr/Jml24f-lm-lo \
|
|
|
|
|
tests/pr/W-72l24f-ll \
|
|
|
|
|
tests/pr/W20l24f-ll \
|
|
|
|
|
tests/pr/W26l24f-ll \
|
|
|
|
|
tests/pr/W27l24f-ll \
|
|
|
|
|
tests/pr/W28l24f-ll \
|
|
|
|
|
tests/pr/W35Ja3l24f-lm \
|
|
|
|
|
tests/pr/W35Jb3l24f-lm \
|
|
|
|
|
tests/pr/W35Jml24f-lmlo \
|
|
|
|
|
tests/pr/W35a3l24f-lm \
|
|
|
|
|
tests/pr/W35b3l24f-lm \
|
|
|
|
|
tests/pr/W35ml24f-lm-lo \
|
|
|
|
|
tests/pr/W72Jl24f-ll \
|
|
|
|
|
tests/pr/a2l15-FF \
|
|
|
|
|
tests/pr/a2l17-FF \
|
|
|
|
|
tests/pr/a3-0F \
|
|
|
|
|
tests/pr/a3f-0F \
|
|
|
|
|
tests/pr/a3f-0FF \
|
|
|
|
|
tests/pr/a3f-FF \
|
|
|
|
|
tests/pr/a3l15-t \
|
|
|
|
|
tests/pr/a3l15f-t \
|
|
|
|
|
tests/pr/a3l24f-lm \
|
|
|
|
|
tests/pr/b2l15-FF \
|
|
|
|
|
tests/pr/b2l17-FF \
|
|
|
|
|
tests/pr/b3-0F \
|
|
|
|
|
tests/pr/b3f-0F \
|
|
|
|
|
tests/pr/b3f-0FF \
|
|
|
|
|
tests/pr/b3f-FF \
|
|
|
|
|
tests/pr/b3l15-t \
|
|
|
|
|
tests/pr/b3l15f-t \
|
|
|
|
|
tests/pr/b3l24f-lm \
|
|
|
|
|
tests/pr/l24-FF \
|
|
|
|
|
tests/pr/l24-t \
|
|
|
|
|
tests/pr/l24f-t \
|
|
|
|
|
tests/pr/loli \
|
|
|
|
|
tests/pr/ml20-FF-t \
|
|
|
|
|
tests/pr/ml24-FF \
|
|
|
|
|
tests/pr/ml24-t \
|
|
|
|
|
tests/pr/ml24-t-FF \
|
|
|
|
|
tests/pr/ml24f-0F \
|
|
|
|
|
tests/pr/ml24f-lm-lo \
|
|
|
|
|
tests/pr/ml24f-t \
|
|
|
|
|
tests/pr/ml24f-t-0F \
|
|
|
|
|
tests/pr/n+2-5l24f-0FF \
|
|
|
|
|
tests/pr/n+2l24f-0FF \
|
|
|
|
|
tests/pr/n+2l24f-bl \
|
|
|
|
|
tests/pr/n+3-7l24-FF \
|
|
|
|
|
tests/pr/n+3l24f-0FF \
|
|
|
|
|
tests/pr/n+3l24f-bl \
|
|
|
|
|
tests/pr/n+3ml20f-bl-FF \
|
|
|
|
|
tests/pr/n+3ml24f-bl-tn \
|
|
|
|
|
tests/pr/n+3ml24f-tn-bl \
|
|
|
|
|
tests/pr/n+4-8a2l17-FF \
|
|
|
|
|
tests/pr/n+4b2l17f-0FF \
|
|
|
|
|
tests/pr/n+5-8b3l17f-FF \
|
|
|
|
|
tests/pr/n+5a3l13f-0FF \
|
|
|
|
|
tests/pr/n+6a2l17-FF \
|
|
|
|
|
tests/pr/n+6b3l13f-FF \
|
|
|
|
|
tests/pr/n+7l24-FF \
|
|
|
|
|
tests/pr/n+8l20-FF \
|
|
|
|
|
tests/pr/nJml24f-lmlmlo \
|
|
|
|
|
tests/pr/nJml24f-lmlolm \
|
|
|
|
|
tests/pr/nN1+3l24f-bl \
|
|
|
|
|
tests/pr/nN15l24f-bl \
|
|
|
|
|
tests/pr/nSml20-bl-FF \
|
|
|
|
|
tests/pr/nSml20-t-t-FF \
|
|
|
|
|
tests/pr/nSml20-t-tFFFF \
|
|
|
|
|
tests/pr/nSml24-bl-FF \
|
|
|
|
|
tests/pr/nSml24-t-t-FF \
|
|
|
|
|
tests/pr/nSml24-t-tFFFF \
|
|
|
|
|
tests/pr/nl24f-bl \
|
|
|
|
|
tests/pr/o3Jml24f-lm-lo \
|
|
|
|
|
tests/pr/o3a3Sl24f-tn \
|
|
|
|
|
tests/pr/o3a3Snl24f-tn \
|
|
|
|
|
tests/pr/o3a3l24f-tn \
|
|
|
|
|
tests/pr/o3b3Sl24f-tn \
|
|
|
|
|
tests/pr/o3b3Snl24f-tn \
|
|
|
|
|
tests/pr/o3b3l24f-tn \
|
|
|
|
|
tests/pr/o3mSl24f-bl-tn \
|
|
|
|
|
tests/pr/o3mSnl24fbltn \
|
|
|
|
|
tests/pr/o3ml24f-bl-tn \
|
|
|
|
|
tests/pr/t-0FF \
|
|
|
|
|
tests/pr/t-FF \
|
|
|
|
|
tests/pr/t-bl \
|
|
|
|
|
tests/pr/t-t \
|
|
|
|
|
tests/pr/tFFn \
|
|
|
|
|
tests/pr/tFFt \
|
|
|
|
|
tests/pr/tFFt-bl \
|
|
|
|
|
tests/pr/tFFt-ll \
|
|
|
|
|
tests/pr/tFFt-lm \
|
|
|
|
|
tests/pr/tFnFt \
|
|
|
|
|
tests/pr/t_notab \
|
|
|
|
|
tests/pr/t_tab \
|
|
|
|
|
tests/pr/t_tab_ \
|
|
|
|
|
tests/pr/ta3-0FF \
|
|
|
|
|
tests/pr/ta3-FF \
|
|
|
|
|
tests/pr/tb3-0FF \
|
|
|
|
|
tests/pr/tb3-FF \
|
|
|
|
|
tests/pr/tn \
|
|
|
|
|
tests/pr/tn2e5o3-t_tab \
|
|
|
|
|
tests/pr/tn2e8-t_tab \
|
|
|
|
|
tests/pr/tn2e8o3-t_tab \
|
|
|
|
|
tests/pr/tn_2e8-t_tab \
|
|
|
|
|
tests/pr/tn_2e8S-t_tab \
|
|
|
|
|
tests/pr/tne8-t_tab \
|
|
|
|
|
tests/pr/tne8o3-t_tab \
|
|
|
|
|
tests/pr/tt-0FF \
|
|
|
|
|
tests/pr/tt-FF \
|
|
|
|
|
tests/pr/tt-bl \
|
|
|
|
|
tests/pr/tt-t \
|
|
|
|
|
tests/pr/tta3-0FF \
|
|
|
|
|
tests/pr/tta3-FF \
|
|
|
|
|
tests/pr/ttb3-0FF \
|
|
|
|
|
tests/pr/ttb3-FF \
|
|
|
|
|
tests/pr/w72l24f-ll
|
2012-09-04 12:12:19 +02:00
|
|
|
|
|
|
|
|
$(TEST_LOGS): $(PROGRAMS)
|