81ee352 Fix bug in find_resultrows environment comparison

Authored and Committed by adamwill 4 years ago
    Fix bug in find_resultrows environment comparison
    
    We were comparing one string fed through 'normalize' (which
    downcases and replaces spaces with underscores) with another
    string that was only downcased, but didn't do the spaces-to-
    underscores thing. This was actually causing a report failure
    for openQA for QA:Testcase_partitioning_custom_btrfs , because
    there's also QA:Testcase_partitioning_custom_btrfs_preserve_home;
    find_resultrows should eventually do the right thing via the
    "precise name match", but it wasn't reaching it, because it was
    first trying to distinguish by environment, and fedora_openqa
    specifies the environment as "x86_64 BIOS", so the "more precise"
    environment match was comparing "x86_64_bios" and "x86_64 bios"
    and throwing away *both* rows.
    
    Signed-off-by: Adam Williamson <awilliam@redhat.com>
    
        
file modified
+1 -1