summaryrefslogtreecommitdiff
path: root/tests/misc/pwd-option
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-11-17 21:42:13 +0100
committerJim Meyering <meyering@redhat.com>2010-11-17 21:46:22 +0100
commita8c8484ee17f09ac92a27308b6ee5eaf4304bddc (patch)
tree7306997d582e94bd09dd393d5bdb30be9f8624e7 /tests/misc/pwd-option
parent293c37b9061c1afd0acd143bbded637a8f00b3a0 (diff)
downloadcoreutils-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/pwd-option')
-rwxr-xr-xtests/misc/pwd-option2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/pwd-option b/tests/misc/pwd-option
index e01026674..21c5e4000 100755
--- a/tests/misc/pwd-option
+++ b/tests/misc/pwd-option
@@ -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 -- pwd --version
+print_ver_ pwd
mkdir -p a/b || framework_failure
ln -s a/b c || framework_failure