diff options
author | Jim Meyering <meyering@redhat.com> | 2012-01-07 17:47:58 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-01-09 21:50:08 +0100 |
commit | dd0e4c5621ca2fa9255aef4eee0e7cf41cd335d2 (patch) | |
tree | 5194ff517669cfb08a3ba329658b45870ab063bd /tests/misc/help-version | |
parent | 50610144b02763f5dd5f6198ceceb88c27c393aa (diff) | |
download | coreutils-dd0e4c5621ca2fa9255aef4eee0e7cf41cd335d2.tar.xz |
tests: change `...' to '...' on lines not matching /[=\$]/
Exempt lines with '$' or '=', since those are prone to improper
conversion. Run this:
git grep -l "\`[^']*'" tests \
|xargs perl -pi -e '/[=\$]/ and next;s/\`([^'\''"]*?'\'')/'\''$1/g'
Diffstat (limited to 'tests/misc/help-version')
-rwxr-xr-x | tests/misc/help-version | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/misc/help-version b/tests/misc/help-version index b93eb3796..c89d11856 100755 --- a/tests/misc/help-version +++ b/tests/misc/help-version @@ -74,7 +74,7 @@ test "x$v" = "x$VERSION" \ for lang in C fr da; do for i in $built_programs; do - # Skip `test'; it doesn't accept --help or --version. + # Skip 'test'; it doesn't accept --help or --version. test $i = test && continue; # false fails even when invoked with --help or --version. @@ -84,7 +84,7 @@ for lang in C fr da; do continue fi - # The just-built install executable is always named `ginstall'. + # The just-built install executable is always named 'ginstall'. test $i = install && i=ginstall # Make sure they exit successfully, under normal conditions. @@ -95,7 +95,7 @@ for lang in C fr da; do grep "$PACKAGE_BUGREPORT" h-$i > /dev/null || fail=1 rm -f h-$i - # Make sure they fail upon `disk full' error. + # Make sure they fail upon 'disk full' error. if test -w /dev/full && test -c /dev/full; then env $i --help >/dev/full 2>/dev/null && fail=1 env $i --version >/dev/full 2>/dev/null && fail=1 @@ -139,7 +139,7 @@ chown_setup () { args=--version; } mkfifo_setup () { args=--version; } mknod_setup () { args=--version; } # Punt on uptime, since it fails (e.g., failing to get boot time) -# on some systems, and we shouldn't let that stop `make check'. +# on some systems, and we shouldn't let that stop 'make check'. uptime_setup () { args=--version; } # Create a file in the current directory, not in $TMPDIR. @@ -198,7 +198,7 @@ basename_setup () { args=$tmp_in; } dirname_setup () { args=$tmp_in; } expr_setup () { args=foo; } -# Punt, in case GNU `id' hasn't been installed yet. +# Punt, in case GNU 'id' hasn't been installed yet. groups_setup () { args=--version; } pathchk_setup () { args=$tmp_in; } |