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

tests: sanity-hsm test_3[3-6] does not use ps correctly

    XMLWordPrintable

Details

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

    Description

      Tests 33 34 35 36 of sanity-hsm check that processes exit correctly (/ die when killed) using the following command:

      local there=$(ps -o pid,comm hp $pid >/dev/null)
      [[ -z $there ]] || error "Process dos not exit"
      

      Obviously $there is always empty and the test is a noop. The output should not be redirected to /dev/null.

      test_33 fails when fixed, this is related to LU-5216.

      Attachments

        Issue Links

          Activity

            People

              jhammond John Hammond
              cealustre CEA
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: