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

test-framework change breaks test

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • Lustre 2.9.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      The commit 7151367afdb04562f016c3002f0c614004552ad6 very recently landed to master for "LU-7130 test: sanity/162 doesn't handle DIR values properly" breaks test in some distros.

      In particular it adds some uses of 'sed -E' to the test-framework.sh
      On sles11sp4 (and maybe other distros too) '-E' isn't a valid option for sed. Trying to use it causes fatal errors. example:

      sed: invalid option -- 'E'
      Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
      
        -n, --quiet, --silent
                       suppress automatic printing of pattern space
        -e script, --expression=script
                       add the script to the commands to be executed
        -f script-file, --file=script-file
                       add the contents of script-file to the commands to be executed
        --follow-symlinks
                       follow symlinks when processing in place
        -i[SUFFIX], --in-place[=SUFFIX]
                       edit files in place (makes backup if extension supplied)
        -l N, --line-length=N
                       specify the desired line-wrap length for the `l' command
        --posix
                       disable all GNU extensions.
        -r, --regexp-extended
                       use extended regular expressions in the script.
        -s, --separate
                       consider files as separate rather than as a single continuous
                       long stream.
        -u, --unbuffered
                       load minimal amounts of data from the input files and flush
                       the output buffers more often
            --help     display this help and exit
            --version  output version information and exit
      
      If no -e, --expression, -f, or --file option is given, then the first
      non-option argument is taken as the sed script to interpret.  All
      remaining arguments are names of input files; if no input files are
      specified, then the standard input is read.
      
      E-mail bug reports to: bonzini@gnu.org .
      Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
      

      Attachments

        Activity

          People

            bogl Bob Glossman (Inactive)
            bogl Bob Glossman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: