]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: use "env builtin" in place of "$abs_top_builddir/src/builtin"
authorJim Meyering <meyering@fb.com>
Tue, 1 Jul 2014 16:40:50 +0000 (09:40 -0700)
committerJim Meyering <meyering@fb.com>
Wed, 2 Jul 2014 16:07:26 +0000 (09:07 -0700)
commit04fc32f7e038e92e033c770211749be683c74973
treef700df8b05061ca8eb845185dd2f057812f6b8fc
parent28d1dc525182c347f2346c52fa7b5ab4a9b1a148
tests: use "env builtin" in place of "$abs_top_builddir/src/builtin"

This works for any program that might also be a shell built-in.
It is more concise.  In addition, it makes output more reproducible:
some diagnostics include argv[0], which will now be just the program
name, rather than the full absolute name of the executable.
* tests/misc/sort-compress.sh: Use env kill, rather than absolute name.
* tests/install/trap.sh: Likewise.
* tests/misc/timeout.sh: Likewise.
* tests/touch/no-dereference.sh: Do the same for two uses of "test".
* tests/touch/no-create-missing.sh: Likewise.
tests/install/trap.sh
tests/misc/sort-compress.sh
tests/misc/timeout.sh
tests/touch/no-create-missing.sh
tests/touch/no-dereference.sh