Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-740

improve the package file content tests to ignore platform specific file names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.5.0
    • None
    • tests
    • None

    Description

      right now the package file content test recognize below files are different and report errors

      /usr/lib/hadoop-0.20-mapreduce/lib/native/Linux-amd64-64 (in centos5_x64)
      /usr/lib/hadoop-0.20-mapreduce/lib/native/Linux-i386-32 (in centos6_x32)
      ......
      /usr/lib64/libhdfs.so (in centos5_x64)
      /usr/lib/libhdfs.so (in centos6_x32)
      

      the test should ignore those kind of difference, as they are platform specific name.

      there is another type of file name difference we should ignore is the dependency version. For example, the hue-common package detect the python version installed on the OS and install correspond version of python related file, for example

      /usr/share/hue/build/env/bin/pip-2.4  (in centos5)
      /usr/share/hue/build/env/bin/pip-2.6  (in centos6)
      

      those diff also should be ignored.

      Attachments

        1. BIGTOP_740.txt
          2 kB
          Johnny Zhang

        Activity

          People

            dreambird Johnny Zhang
            dreambird Johnny Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: