Whamcloud - gitweb
LU-12399 tests: avoid 'pdsh localhost' in sanity test_420
[fs/lustre-release.git] / lustre / tests / sanity.sh
index e21d948..579899f 100644 (file)
@@ -20317,7 +20317,7 @@ test_420()
        [ $dirperms == "drwxrwsrwt" ] ||
                error "incorrect perms on $dir/testdir"
 
-       $PDSH ${uname}@localhost "PATH=$LUSTRE/tests:\$PATH; \
+       su - $uname -c "PATH=$LUSTRE/tests:\$PATH; \
                openfile -f O_RDONLY:O_CREAT -m 02755 $dir/testdir/testfile"
        ls -n $dir/testdir/testfile
        local fileperms=$(ls -n $dir/testdir/testfile | awk '{print $1}')