summaryrefslogtreecommitdiff
path: root/tests/mv/sticky-to-xpart
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mv/sticky-to-xpart')
-rwxr-xr-xtests/mv/sticky-to-xpart5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/mv/sticky-to-xpart b/tests/mv/sticky-to-xpart
index dbb558483..a40f434fa 100755
--- a/tests/mv/sticky-to-xpart
+++ b/tests/mv/sticky-to-xpart
@@ -41,7 +41,10 @@ chmod go+x . || framework_failure
# Ensure that $NON_ROOT_USERNAME can access the required version of mv.
-version=`setuidgid $NON_ROOT_USERNAME env PATH="$PATH" mv --version|sed -n '1s/.* //p'`
+version=`
+ setuidgid $NON_ROOT_USERNAME env PATH="$PATH" mv --version |
+ sed -n '1s/.* //p'
+`
case $version in
$PACKAGE_VERSION) ;;
*) echo "$0: cannot access just-built mv as user $NON_ROOT_USERNAME" 1>&2