summaryrefslogtreecommitdiff
path: root/tests/cp/preserve-gid
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/cp/preserve-gid
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/cp/preserve-gid')
-rwxr-xr-xtests/cp/preserve-gid12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/cp/preserve-gid b/tests/cp/preserve-gid
index 6f371c3fb..746c57a60 100755
--- a/tests/cp/preserve-gid
+++ b/tests/cp/preserve-gid
@@ -52,24 +52,24 @@ t0() {
fi
}
-nameless_uid=`$PERL -le '
+nameless_uid=$($PERL -le '
foreach my $i (1000..16*1024-1)
{
getpwuid $i or (print $i), exit
}
-'`
-nameless_gid1=`$PERL -le '
+')
+nameless_gid1=$($PERL -le '
foreach my $i (1000..16*1024)
{
getgrgid $i or (print $i), exit
}
-'`
-nameless_gid2=`$PERL -le '
+')
+nameless_gid2=$($PERL -le '
foreach my $i ('"$nameless_gid1"'+1..16*1024)
{
getgrgid $i or (print $i), exit
}
-'`
+')
if test -z "$nameless_uid" \
|| test -z "$nameless_gid1" \