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=23051 improve summary of acc-sm to include test times
[fs/lustre-release.git]
/
lustre
/
tests
/
functions.sh
diff --git
a/lustre/tests/functions.sh
b/lustre/tests/functions.sh
index
4d9ea51
..
56529b6
100644
(file)
--- a/
lustre/tests/functions.sh
+++ b/
lustre/tests/functions.sh
@@
-174,7
+174,7
@@
mpi_run () {
local mpilog=$TMP/mpi.log
local rc
- 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 \""