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=21932 disable some tests on NFSCLIENT
[fs/lustre-release.git]
/
lustre
/
tests
/
parallel-scale.sh
diff --git
a/lustre/tests/parallel-scale.sh
b/lustre/tests/parallel-scale.sh
index
e6c41ff
..
218c147
100644
(file)
--- a/
lustre/tests/parallel-scale.sh
+++ b/
lustre/tests/parallel-scale.sh
@@
-197,6
+197,11
@@
test_metabench() {
run_test metabench "metabench"
test_simul() {
run_test metabench "metabench"
test_simul() {
+ if [ "$NFSCLIENT" ]; then
+ skip "skipped for NFSCLIENT mode"
+ return
+ fi
+
[ x$SIMUL = x ] &&
{ skip_env "simul not found" && return; }
[ x$SIMUL = x ] &&
{ skip_env "simul not found" && return; }
@@
-298,8
+303,13
@@
test_ior() {
mkdir -p $testdir
# mpi_run uses mpiuser
chmod 0777 $testdir
mkdir -p $testdir
# mpi_run uses mpiuser
chmod 0777 $testdir
- $LFS setstripe $testdir -c -1
-
+ if [ "$NFSCLIENT" ]; then
+ setstripe_nfsserver $testdir -c -1 ||
+ { error "setstripe on nfsserver failed" && return 1; }
+ else
+ $LFS setstripe $testdir -c -1 ||
+ { error "setstripe failed" && return 2; }
+ fi
#
# -b N blockSize -- contiguous bytes to write per task (e.g.: 8, 4k, 2m, 1g)"
# -o S testFileName
#
# -b N blockSize -- contiguous bytes to write per task (e.g.: 8, 4k, 2m, 1g)"
# -o S testFileName
@@
-365,6
+375,11
@@
test_cascading_rw() {
run_test cascading_rw "cascading_rw"
test_write_append_truncate() {
run_test cascading_rw "cascading_rw"
test_write_append_truncate() {
+ if [ "$NFSCLIENT" ]; then
+ skip "skipped for NFSCLIENT mode"
+ return
+ fi
+
# location is lustre/tests dir
if ! which write_append_truncate > /dev/null 2>&1 ; then
skip_env "write_append_truncate not found"
# location is lustre/tests dir
if ! which write_append_truncate > /dev/null 2>&1 ; then
skip_env "write_append_truncate not found"
@@
-406,6
+421,11
@@
test_write_append_truncate() {
run_test write_append_truncate "write_append_truncate"
test_write_disjoint() {
run_test write_append_truncate "write_append_truncate"
test_write_disjoint() {
+ if [ "$NFSCLIENT" ]; then
+ skip "skipped for NFSCLIENT mode"
+ return
+ fi
+
[ x$WRITE_DISJOINT = x ] &&
{ skip_env "write_disjoint not found" && return; }
[ x$WRITE_DISJOINT = x ] &&
{ skip_env "write_disjoint not found" && return; }