summaryrefslogtreecommitdiff
path: root/tests/mv/sticky-to-xpart
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-04-03 21:42:48 +0200
committerJim Meyering <meyering@redhat.com>2012-04-04 12:22:24 +0200
commit33230a19ca27d99629a7c8000f56ecce22e956fa (patch)
treea63b2a76eee78589504868d5fa569776a7518ece /tests/mv/sticky-to-xpart
parentb1e9cb9cd2945832b914922fa43808d6f467ba19 (diff)
downloadcoreutils-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/mv/sticky-to-xpart')
-rwxr-xr-xtests/mv/sticky-to-xpart4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mv/sticky-to-xpart b/tests/mv/sticky-to-xpart
index 954cb8f0e..6df65024e 100755
--- a/tests/mv/sticky-to-xpart
+++ b/tests/mv/sticky-to-xpart
@@ -41,10 +41,10 @@ chmod go+x . || framework_failure_
# Ensure that $NON_ROOT_USERNAME can access the required version of mv.
-version=`
+version=$(
setuidgid $NON_ROOT_USERNAME env PATH="$PATH" mv --version |
sed -n '1s/.* //p'
-`
+)
case $version in
$PACKAGE_VERSION) ;;
*) skip_ "cannot access just-built mv as user $NON_ROOT_USERNAME";;