diff options
Diffstat (limited to 'tests/mv/sticky-to-xpart')
-rwxr-xr-x | tests/mv/sticky-to-xpart | 4 |
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";; |