1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 11:16:16 +02:00

tests: adjust \`...' quoting to '...' to adapt to latest gnulib

Run this:
  git grep -l "\\\\\`[^']*'" tests \
    |xargs perl -pi -e 's/\\\`(.*?'\'')/'\''$1/g
This commit is contained in:
Jim Meyering
2012-01-07 17:43:50 +01:00
parent 68a959262a
commit 50610144b0
36 changed files with 74 additions and 74 deletions

View File

@@ -33,7 +33,7 @@ chmod -c g=rwx $file > empty || fail=1
test -s empty && fail=1
case "`cat out`" in
"mode of \`f' changed from 0744 "?rwxr--r--?" to 0774 "?rwxrwxr--?) ;;
"mode of 'f' changed from 0744 "?rwxr--r--?" to 0774 "?rwxrwxr--?) ;;
*) cat out; fail=1 ;;
esac

View File

@@ -27,7 +27,7 @@ for mode in =x =xX =Xx =x,=X =X,=x; do
chmod a=r,$mode $file || fail=1
case "`ls -l $file`" in
---x--x---*) ;;
*) fail=1; echo "after \`chmod $mode $file':"; ls -l $file ;;
*) fail=1; echo "after 'chmod $mode $file':"; ls -l $file ;;
esac
done

View File

@@ -41,7 +41,7 @@ sed "s/^$prog: cannot read directory /$prog: /" out > t && mv t out
sed 's,d/no-x/y,d/no-x,' out > t && mv t out
cat <<EOF > exp
$prog: \`d/no-x': Permission denied
$prog: 'd/no-x': Permission denied
EOF
compare exp out || fail=1

View File

@@ -25,7 +25,7 @@ ln -s non-existent dangle || framework_failure_
# This operation cannot succeed since the symbolic link dangles.
chmod 644 dangle 2> out && fail=1
echo "chmod: cannot operate on dangling symlink \`dangle'" > exp
echo "chmod: cannot operate on dangling symlink 'dangle'" > exp
compare exp out || fail=1
Exit $fail