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

syntax error in sanity.sh in cleanup_test32_mount

    XMLWordPrintable

Details

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

    Description

      cleanup_test32_mount() {
                 local rc=0
                 trap 0
                 local loopdev=$(losetup -a | grep $EXT2_DEV | sed -ne 's/:.*$/p')
                 $UMOUNT $DIR/$tdir/ext2-mountpoint || rc=$?
                 losetup -d $loopdev || true
                 rm -rf $DIR/$tdir/ext2-mountpoint
                 return $rc
      }
      
      # losetup -a | grep /tmp/SANITY.LOOP | sed -ne 's/:.*$/p'
      sed: unmatched '/'
      
      
      

      Attachments

        Activity

          People

            dmiter Dmitry Eremin (Inactive)
            dmiter Dmitry Eremin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: