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

Bash completion regressions, lctl and lfs

    XMLWordPrintable

Details

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

    Description

      There are a few regressions introduced in the bash completions for lctl and lfs.

      1. Attempting completion for lctl prints a message to stderr and does not generate any completions. To test this behavior interactively, type lctl <tab>. To test this behavior programmatically, run

      source lustre/scripts/bash-completion/lustre; COMPLETIONS=$( _lustre_cmds lctl) && [ ! -z "$COMPLETIONS" ]

      An exit status of 1 indicates the bug is present.

       

      2. Completion for lfs check gives incorrect results.

       

      3. Attempting completion for lfs find -component-flags erroneously prints a message to stderr.

      Attachments

        Issue Links

          Activity

            People

              bertschinger Thomas Bertschinger
              bertschinger Thomas Bertschinger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: