summaryrefslogtreecommitdiff
path: root/tests/cp/preserve-gid
diff options
context:
space:
mode:
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" \