Whamcloud - gitweb
- check for GNS mount even if upcall returned to error (to not miss them)
[fs/lustre-release.git] / lustre / tests / sanity-gns.sh
index afd5597..009f1f3 100644 (file)
@@ -327,10 +327,12 @@ check_gns() {
     echo "$UPCALL_PATH" > /proc/fs/lustre/llite/fs0/gns_upcall || return $?
     echo "upcall:  $(cat /proc/fs/lustre/llite/fs0/gns_upcall)"
 
+#    local OLD_PWD=$(pwd)
     case "$MODE" in
        GENERIC)
            echo -n "mount on open $OBJECT1/test_file1 (generic): "
            echo -n "test data" > $OBJECT1/test_file1 >/dev/null 2>&1 || return $?
+#          cd $OBJECT1 || return $?
            ;;
        CONCUR1)
            local i=1
@@ -388,6 +390,8 @@ check_gns() {
            echo "invalid testing mode $MODE"
            return 1
     esac
+
+#    cd $OLD_PWD
     
     check_mnt $OBJECT1 || {
        echo "fail"