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

File test for $TF_FAIL should be double quoted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Trivial
    • Lustre 1.8.6
    • None
    • None
    • 3
    • 10251

    Description

      The file test for $TF_FAIL variable should be quoted in acceptance-small.sh and auster.sh. Otherwise, if this variable is not defined, bash will spit out something like
      acceptance-small.sh: line 123: [: too many arguments

      Bash variables should generally be quoted whenever they are referenced. (see http://tldp.org/LDP/abs/html/quotingvar.html).

      Attachments

        Activity

          People

            bobijam Zhenyu Xu
            hornc Chris Horn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: