diff options
author | Jim Meyering <meyering@redhat.com> | 2012-04-03 21:42:48 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-04-04 12:22:24 +0200 |
commit | 33230a19ca27d99629a7c8000f56ecce22e956fa (patch) | |
tree | a63b2a76eee78589504868d5fa569776a7518ece /tests/cp/perm | |
parent | b1e9cb9cd2945832b914922fa43808d6f467ba19 (diff) | |
download | coreutils-33230a19ca27d99629a7c8000f56ecce22e956fa.tar.xz |
tests: remove nearly all remaining backticks
* tests/rm/isatty: Remove now-unneeded "# `" line.
* tests/misc/ls-time: Likewise.
* tests/misc/date-sec: Remove stray "`" in comment.
* tests/du/long-sloop: Likewise.
* tests/mv/part-symlink: Replace multi-line `...` by $(...).
* tests/mv/sticky-to-xpart: Likewise.
* tests/rm/fail-2eperm: Likewise.
* tests/ls/nameless-uid: Likewise.
* tests/cp/perm: Likewise.
* tests/cp/preserve-gid: Likewise.
* tests/cp/same-file: Likewise.
Diffstat (limited to 'tests/cp/perm')
-rwxr-xr-x | tests/cp/perm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/cp/perm b/tests/cp/perm index eb3925da2..a93df7182 100755 --- a/tests/cp/perm +++ b/tests/cp/perm @@ -55,13 +55,13 @@ for u in 31 37 2; do ;; cp:*:no) test $u = 37 && - expected_perms=` + expected_perms=$( echo $expected_perms | sed 's/.....$/-----/' - ` + ) test $u = 31 && - expected_perms=` + expected_perms=$( echo $expected_perms | sed 's/..\(..\).$/--\1-/' - ` + ) ;; esac test _$actual_perms = _$expected_perms || exit 1 |