mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-20 10:51:48 +02:00
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'
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# On GNU, `id' must fail for processes with zero UIDs.
|
||||
# On GNU, 'id' must fail for processes with zero UIDs.
|
||||
|
||||
# Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
|
||||
@@ -23,7 +23,7 @@ require_gnu_
|
||||
|
||||
sush - true || skip_ "the 'sush' command does not work"
|
||||
|
||||
# Run `id' with zero UIDs. It should exit with a non-zero status.
|
||||
# Run 'id' with zero UIDs. It should exit with a non-zero status.
|
||||
sush - id > out && fail=1
|
||||
|
||||
Exit $fail
|
||||
|
||||
Reference in New Issue
Block a user