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
LU-17703 lod: check the inherited pool for conflicts
[fs/lustre-release.git]
/
lustre
/
tests
/
test-framework.sh
diff --git
a/lustre/tests/test-framework.sh
b/lustre/tests/test-framework.sh
index
d4ff821
..
15bf137
100755
(executable)
--- a/
lustre/tests/test-framework.sh
+++ b/
lustre/tests/test-framework.sh
@@
-10039,15
+10039,10
@@
pool_add_targets() {
echo "Adding targets to pool"
local pool=$1
local first=$2
echo "Adding targets to pool"
local pool=$1
local first=$2
- local last=$
3
+ local last=$
{3:-$first}
local step=${4:-1}
local step=${4:-1}
- if [ -z $last ]; then
- local list=$first
- last=$first
- else
- local list=$(seq $first $step $last)
- fi
+ local list=$(seq $first $step $last)
local t=$(for i in $list; do printf "$FSNAME-OST%04x_UUID " $i; done)
local tg=$(for i in $list;
local t=$(for i in $list; do printf "$FSNAME-OST%04x_UUID " $i; done)
local tg=$(for i in $list;