X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fsanity-quota.sh;h=96d1ab0c706a684374ea12250edd9b8253573890;hp=507768a9a041a085f5390ea174089bc7a87cbcdb;hb=54320d7f52e6dd2b32e64997e2f7ae1ff1060f6f;hpb=ef326407d56ad9a0af8cf60e4544ba5a88a37cfd diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index 507768a..96d1ab0 100644 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -50,6 +50,7 @@ SANITY_QUOTA_USERS="quota15_1 quota15_2 quota15_3 quota15_4 quota15_5 quota15_6 quota15_19 quota15_20 quota15_21 quota15_22 quota15_23 quota15_24 \ quota15_25 quota15_26 quota15_27 quota15_28 quota15_29 quota15_30" +export MULTIOP=${MULTIOP:-multiop} TRACE=${TRACE:-""} LUSTRE=${LUSTRE:-`dirname $0`/..} . $LUSTRE/tests/test-framework.sh @@ -1194,10 +1195,10 @@ test_14a() { # was test_14 b=12223 -- setting quota on root $LFS setquota -u root -b 10 -B 10 -i 10 -I 10 $DIR createmany -m ${TESTFILE} 20 || \ quota_error u root "unexpected: user(root) create files failly!" - multiop ${TESTFILE} oO_CREAT:O_WRONLY:O_DIRECT:w$((4096 * 4096))c || \ + $MULTIOP ${TESTFILE} oO_CREAT:O_WRONLY:O_DIRECT:w$((4096 * 4096))c || \ quota_error u root "unexpected: user(root) write files failly!" chmod 666 $TESTFILE - $RUNAS multiop ${TESTFILE} oO_WRONLY:O_APPEND:O_DIRECT:w$((4096 * 4096))c && \ + $RUNAS $MULTIOP ${TESTFILE} oO_WRONLY:O_APPEND:O_DIRECT:w$((4096 * 4096))c && \ quota_error u root "unexpected: user(quota_usr) write a file successfully!" # trigger the llog