Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b=23049 various t-f.sh patches
[fs/lustre-release.git]
/
lustre
/
tests
/
functions.sh
diff --git
a/lustre/tests/functions.sh
b/lustre/tests/functions.sh
index
0953391
..
63d3868
100644
(file)
--- a/
lustre/tests/functions.sh
+++ b/
lustre/tests/functions.sh
@@
-31,7
+31,7
@@
mpi_run () {
local rc
$LFS df -i
- if [
"$MPI_USER" != root -a $mpirun
]; then
+ if [
-n "$MPI_USER" -a "$MPI_USER" != root -a -n "$mpirun"
]; then
echo "+ chmod 0777 $MOUNT"
chmod 0777 $MOUNT
command="su $MPI_USER sh -c \"$command \""