summaryrefslogtreecommitdiff
path: root/tests/init.cfg
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-07 17:43:50 +0100
committerJim Meyering <meyering@redhat.com>2012-01-09 21:50:08 +0100
commit50610144b02763f5dd5f6198ceceb88c27c393aa (patch)
treea1b26be1db751817c2b9a4eba7c2a1b18033c5aa /tests/init.cfg
parent68a959262aefc5377f5a654d72e71dd42376183e (diff)
downloadcoreutils-50610144b02763f5dd5f6198ceceb88c27c393aa.tar.xz
tests: adjust \`...' quoting to '...' to adapt to latest gnulib
Run this: git grep -l "\\\\\`[^']*'" tests \ |xargs perl -pi -e 's/\\\`(.*?'\'')/'\''$1/g
Diffstat (limited to 'tests/init.cfg')
-rw-r--r--tests/init.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/init.cfg b/tests/init.cfg
index 50c752bca..437969840 100644
--- a/tests/init.cfg
+++ b/tests/init.cfg
@@ -191,13 +191,13 @@ uid_is_privileged_()
{
# Make sure id -u succeeds.
my_uid=$(id -u) \
- || { echo "$0: cannot run \`id -u'" 1>&2; return 1; }
+ || { echo "$0: cannot run 'id -u'" 1>&2; return 1; }
# Make sure it gives valid output.
case $my_uid in
0) ;;
*[!0-9]*)
- echo "$0: invalid output (\`$my_uid') from \`id -u'" 1>&2
+ echo "$0: invalid output ('$my_uid') from 'id -u'" 1>&2
return 1 ;;
*) return 1 ;;
esac