diff options
author | Bernhard Voelker <mail@bernhard-voelker.de> | 2021-08-22 18:41:17 +0200 |
---|---|---|
committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2021-09-20 00:14:58 +0200 |
commit | 5768a03ddfb5e18b1682e339d6cdd24ff721c510 (patch) | |
tree | 9c7e587d8e43c2c655674245626787a97b252a0d /tests/find/debug-missing-arg.sh | |
parent | 2c56e00ec9d6a735b9054513a3842dad0ef73394 (diff) | |
download | findutils-5768a03ddfb5e18b1682e339d6cdd24ff721c510.tar.gz |
oldfind: remove
The FTS-based find is the default for a long time; oldfind has not been
installed since 4.5.18 (2015), and was only just used in tests.
* NEWS: Document the change.
* doc/find-maint.texi (Factor Out Repeated Code): Remove mentioning of
oldfind.
* find/.gitignore (/oldfind): Remove entry.
* find/Makefile.am (check_PROGRAMS): Remove.
(oldfind_SOURCES): Remove.
* find/defs.h (struct dir_id): Remove, it was only used in oldfind.c.
(symlink_handling): Likewise.
Adjust comments wrt oldfind otherwise.
* find/oldfind.c: Remove.
* find/testsuite/config/unix.exp: Remove the code to search for and
to run tests with oldfind.
* find/testsuite/find.posix/dotdotfiles.exp: Adjust comment.
* po/POTFILES.in (find/oldfind.c): Remove entry.
* tests/find/debug-missing-arg.sh: Remove run with oldfind.
* tests/find/exec-plus-last-file.sh: Likewise.
* tests/find/execdir-fd-leak.sh: Likewise.
* tests/find/many-dir-entries-vs-OOM.sh: Likewise.
* tests/find/name-lbracket-literal.sh: Likewise.
* tests/find/printf_escape_c.sh: Likewise.
* tests/find/printf_escapechars.sh: Likewise.
* tests/find/printf_inode.sh: Likewise.
* tests/find/refuse-noop.sh: Likewise.
* tests/find/type_list.sh: Likewise.
* tests/local.mk (built_programs): Remove oldfind from list.
Diffstat (limited to 'tests/find/debug-missing-arg.sh')
-rwxr-xr-x | tests/find/debug-missing-arg.sh | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/find/debug-missing-arg.sh b/tests/find/debug-missing-arg.sh index ce8dffaf..776f295d 100755 --- a/tests/find/debug-missing-arg.sh +++ b/tests/find/debug-missing-arg.sh @@ -19,14 +19,10 @@ # along with this program. If not, see <https://www.gnu.org/licenses/>. . "${srcdir=.}/tests/init.sh"; fu_path_prepend_ -print_ver_ find oldfind +print_ver_ find -# Exercise both find executables. -for exe in find oldfind; do - rm -f out err || framework_failure_ - returns_ 1 "$exe" -D >/dev/null 2> err || fail=1 - grep -F "find: Missing argument after the -D option." err \ - || { cat err; fail=1; } -done +returns_ 1 find -D >/dev/null 2> err || fail=1 +grep -F "find: Missing argument after the -D option." err \ + || { cat err; fail=1; } Exit $fail |