diff options
author | Jim Meyering <meyering@redhat.com> | 2010-11-17 21:42:13 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-11-17 21:46:22 +0100 |
commit | a8c8484ee17f09ac92a27308b6ee5eaf4304bddc (patch) | |
tree | 7306997d582e94bd09dd393d5bdb30be9f8624e7 /tests/misc/printf-hex | |
parent | 293c37b9061c1afd0acd143bbded637a8f00b3a0 (diff) | |
download | coreutils-a8c8484ee17f09ac92a27308b6ee5eaf4304bddc.tar.xz |
tests: convert "... env -- prog --version" uses
E.g.,
-test "$VERBOSE" = yes && env -- pwd --version
+print_ver_ pwd
git grep -l 'VERBOSE.*--version'|xargs perl -pi -e \
's/test "\$VERBOSE" = yes && env -- (\w+) --version/print_ver_ $1/'
Diffstat (limited to 'tests/misc/printf-hex')
-rwxr-xr-x | tests/misc/printf-hex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/printf-hex b/tests/misc/printf-hex index 864dc0bb2..4853d392f 100755 --- a/tests/misc/printf-hex +++ b/tests/misc/printf-hex @@ -17,7 +17,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. . "${srcdir=.}/init.sh"; path_prepend_ ../src -test "$VERBOSE" = yes && env -- printf --version +print_ver_ printf env printf '\x7e3\n' > out || fail=1 cat <<\EOF > exp |