summaryrefslogtreecommitdiff
path: root/tests/cp/preserve-gid
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/preserve-gid')
-rwxr-xr-xtests/cp/preserve-gid2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/preserve-gid b/tests/cp/preserve-gid
index 355db4d87..6f371c3fb 100755
--- a/tests/cp/preserve-gid
+++ b/tests/cp/preserve-gid
@@ -39,7 +39,7 @@ t0() {
g=$1; shift
rm -f b || exit 1
"$@" "$f" b || exit 1
- s=`stat -c '%u %g' b`
+ s=$(stat -c '%u %g' b)
if test "x$s" != "x$u $g"; then
# Allow the actual group to match that of the parent directory
# (it was set to 0 above).