summaryrefslogtreecommitdiff
path: root/tests/ls
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-07 17:47:58 +0100
committerJim Meyering <meyering@redhat.com>2012-01-09 21:50:08 +0100
commitdd0e4c5621ca2fa9255aef4eee0e7cf41cd335d2 (patch)
tree5194ff517669cfb08a3ba329658b45870ab063bd /tests/ls
parent50610144b02763f5dd5f6198ceceb88c27c393aa (diff)
downloadcoreutils-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/ls')
-rwxr-xr-xtests/ls/follow-slink2
-rwxr-xr-xtests/ls/no-arg2
-rwxr-xr-xtests/ls/symlink-slash2
-rwxr-xr-xtests/ls/time-style-diag4
4 files changed, 5 insertions, 5 deletions
diff --git a/tests/ls/follow-slink b/tests/ls/follow-slink
index 8bfe04c07..7b5042c7c 100755
--- a/tests/ls/follow-slink
+++ b/tests/ls/follow-slink
@@ -26,7 +26,7 @@ ln -s link link || framework_failure_
ln -s ../../dir1 sub/link-to-dir || framework_failure_
# Make sure the symlink was created.
-# `ln -s link link' succeeds, but creates no file on
+# 'ln -s link link' succeeds, but creates no file on
# systems running some DJGPP-2.03 libc.
ls -F link > /dev/null || framework_failure_
diff --git a/tests/ls/no-arg b/tests/ls/no-arg
index 8234a15de..26774072f 100755
--- a/tests/ls/no-arg
+++ b/tests/ls/no-arg
@@ -1,5 +1,5 @@
#!/bin/sh
-# make sure ls and `ls -R' do the right thing when invoked with no arguments.
+# make sure ls and 'ls -R' do the right thing when invoked with no arguments.
# Copyright (C) 2001, 2003-2004, 2006-2012 Free Software Foundation, Inc.
diff --git a/tests/ls/symlink-slash b/tests/ls/symlink-slash
index 71cee568d..5adfdadcd 100755
--- a/tests/ls/symlink-slash
+++ b/tests/ls/symlink-slash
@@ -24,7 +24,7 @@ ln -s dir symlink || framework_failure_
set `ls -l symlink/`
-# Prior to fileutils-4.0k, the following would have output `... symlink -> dir'.
+# Prior to fileutils-4.0k, the following would have output '... symlink -> dir'.
test "$*" = 'total 0' && : || fail=1
Exit $fail
diff --git a/tests/ls/time-style-diag b/tests/ls/time-style-diag
index ba8c1c88a..ae41c9361 100755
--- a/tests/ls/time-style-diag
+++ b/tests/ls/time-style-diag
@@ -23,13 +23,13 @@ ls -l --time-style=XX > out 2> err
test $? = 2 || fail=1
cat <<\EOF > exp || fail=1
-ls: invalid argument `XX' for `time style'
+ls: invalid argument 'XX' for 'time style'
Valid arguments are:
- [posix-]full-iso
- [posix-]long-iso
- [posix-]iso
- [posix-]locale
- - +FORMAT (e.g., +%H:%M) for a `date'-style format
+ - +FORMAT (e.g., +%H:%M) for a 'date'-style format
Try 'ls --help' for more information.
EOF