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

cannot run racer.sh by auster since there is a dir with the same name racer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.2.0, Lustre 2.1.1
    • None
    • server: 2.1-wc1-RHEL6-x86_64
      client: 2.1.55-RHEL6-x86_64
    • 3
    • 2200

    Description

      Got this error when running racer with auster

      [root@client-15-ib 210342]# more racer.suite_log.client-15-ib.log
      ----============= acceptance-small: racer ============---- Thu Feb 2 21:04:44
      PST 2012
      /usr/lib64/lustre/tests/racer: /usr/lib64/lustre/tests/racer: is a directory

      run auster with "-x" option:
      --------------------------
      Logging to local directory: /tmp/test_logs/2012-02-02/212945
      running: racer.sh
      run_suite racer /usr/lib64/lustre/tests/racer
      racer.sh returned 0

      After reading auster's code, I found in function "find_script_in_path()" it checks dir first and then shell script. Since there are both racer dir and racer.sh under /usr/lib64/lustre/tests, it returns the dir instead of the script.

      Attachments

        Issue Links

          Activity

            People

              mdiep Minh Diep
              sarah Sarah Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: