Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-7088

Tests sanityn/1b,1c,1d cannot be executed separatelly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.10.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Tests sanityn/1b,1c,1d depends to sanityn/1a and cannot be executed separately via set ONLY parameter.
      Here is excerpts from sanityn.sh:

      test_1a() {
      	touch $DIR1/f1
      	[ -f $DIR2/f1 ] || error
      }
      run_test 1a "check create on 2 mtpt's =========================="
      
      test_1b() {
      	chmod 777 $DIR2/f1
      	$CHECKSTAT -t file -p 0777 $DIR1/f1 || error
      	chmod a-x $DIR2/f1
      }
      run_test 1b "check attribute updates on 2 mtpt's ==============="
      
      test_1c() {
      	$CHECKSTAT -t file -p 0666 $DIR1/f1 || error
      }
      run_test 1c "check after remount attribute updates on 2 mtpt's ="
      
      test_1d() {
      	rm $DIR2/f1
      	$CHECKSTAT -a $DIR1/f1 || error
      }
      

      To make these test run without failures we can join each next test with each previous ones, or join all of them into single one.

      Attachments

        Activity

          People

            wc-triage WC Triage
            aditya.pandit@seagate.com Aditya Pandit (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: