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-1031: add grouplock test to sanity.sh
[fs/lustre-release.git]
/
lustre
/
tests
/
sanity-gss.sh
diff --git
a/lustre/tests/sanity-gss.sh
b/lustre/tests/sanity-gss.sh
index
0c5c624
..
60104e5
100644
(file)
--- a/
lustre/tests/sanity-gss.sh
+++ b/
lustre/tests/sanity-gss.sh
@@
-26,6
+26,8
@@
export PATH=$PWD/$SRCDIR:$SRCDIR:$SRCDIR/../utils:$SRCDIR/../utils/gss:$PATH:/sb
export NAME=${NAME:-local}
SAVE_PWD=$PWD
export NAME=${NAME:-local}
SAVE_PWD=$PWD
+export MULTIOP=${MULTIOP:-multiop}
+
CLEANUP=${CLEANUP:-""}
SETUP=${SETUP:-""}
CLEANUP=${CLEANUP:-""}
SETUP=${SETUP:-""}
@@
-241,7
+243,7
@@
test_3() {
$RUNAS cat $file > /dev/null || error "$RUNAS_ID cat error"
# start multiop
$RUNAS cat $file > /dev/null || error "$RUNAS_ID cat error"
# start multiop
- $RUNAS
multiop
$file o_r &
+ $RUNAS
$MULTIOP
$file o_r &
OPPID=$!
# wait multiop finish its open()
sleep 1
OPPID=$!
# wait multiop finish its open()
sleep 1
@@
-638,7
+640,7
@@
switch_sec_test()
do_facet $SINGLEMDS lctl set_param fail_val=36
do_facet $SINGLEMDS lctl set_param fail_loc=0x513
log "starting multiop"
do_facet $SINGLEMDS lctl set_param fail_val=36
do_facet $SINGLEMDS lctl set_param fail_loc=0x513
log "starting multiop"
-
multiop
$filename m &
+
$MULTIOP
$filename m &
multiop_pid=$!
echo "multiop pid=$multiop_pid"
sleep 1
multiop_pid=$!
echo "multiop pid=$multiop_pid"
sleep 1