X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=inline;f=lustre%2Ftests%2Fsanity-gns.sh;h=afd55979f6d876e35d884747111c70576434a0f2;hb=4161eaece092a47b24fe2da5fcb3b19332ccd2ea;hp=79eced02351db4f0bdfec86c3d268abd28d5e477;hpb=991c653e15c82f9b8b6abf4def35110c97886533;p=fs%2Flustre-release.git diff --git a/lustre/tests/sanity-gns.sh b/lustre/tests/sanity-gns.sh index 79eced0..afd5597 100644 --- a/lustre/tests/sanity-gns.sh +++ b/lustre/tests/sanity-gns.sh @@ -97,7 +97,7 @@ check_kernel_version() { } run_one() { - if ! mount | grep -q $DIR; then + if ! cat /proc/mounts | grep -q $DIR; then $START fi echo $PTLDEBUG >/proc/sys/portals/debug @@ -959,6 +959,8 @@ $DIR/gns_test_2g/$OBJECT/$OBJECT/$OBJECT $TIMOUT $TICK GENERIC || { disable_gns + echo "" + echo "turning SUID on $DIR/gns_test_2g/$OBJECT/$OBJECT/$OBJECT off" chmod u-s $DIR/gns_test_2g/$OBJECT/$OBJECT/$OBJECT enable_gns