Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06c059a
)
Allow an objid to be specified on the CLI (via OID=<foo>) to allow multiple
author
adilger
<adilger>
Sun, 8 Sep 2002 19:36:50 +0000
(19:36 +0000)
committer
adilger
<adilger>
Sun, 8 Sep 2002 19:36:50 +0000
(19:36 +0000)
hosts to run on the same object and/or only do rewrite or read tests on an
existing object.
lustre/tests/runregression-brw.sh
patch
|
blob
|
history
diff --git
a/lustre/tests/runregression-brw.sh
b/lustre/tests/runregression-brw.sh
index
0d81b4e
..
ab9224a
100644
(file)
--- a/
lustre/tests/runregression-brw.sh
+++ b/
lustre/tests/runregression-brw.sh
@@
-45,7
+45,7
@@
if [ -z "`$OBDCTL device_list 2> /dev/null | grep osc`" ]; then
setup_client || exit -1
fi
-OID=`$OBDCTL --device '$OSCDEV' create 1 | awk '/is object id/ { print $6 }'`
+
[ -z "$OID" ] &&
OID=`$OBDCTL --device '$OSCDEV' create 1 | awk '/is object id/ { print $6 }'`
[ -z "$OID" ] && echo "error creating object" 1>&2 && exit 1
# TODO: obdctl needs to check on the progress of each forked thread