[Notes] [Git][BuildStream/buildstream][chandan/fix-bad-filename-disaster] fixup



Title: GitLab

Chandan Singh pushed to branch chandan/fix-bad-filename-disaster at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • tests/frontend/buildcheckout.py
    ... ... @@ -110,13 +110,14 @@ def test_build_invalid_filename_chars_dep(datafiles, cli):
    110 110
         element_name = 'invalid-chars|<>-in-name.bst'
    
    111 111
     
    
    112 112
         # The name of this file contains characters that are not allowed by
    
    113
    -    # BuildStream, using it should raise a warning.
    
    113
    +    # BuildStream, and is listed as a dependency of 'invalid-chars-in-dep.bst'.
    
    114
    +    # This should also raise a warning.
    
    114 115
         element = {
    
    115 116
             'kind': 'stack',
    
    116 117
         }
    
    117 118
         _yaml.dump(element, os.path.join(project, 'elements', element_name))
    
    118 119
     
    
    119
    -    result = cli.run(project=project, args=strict_args(['build', element_name], 'non-strict'))
    
    120
    +    result = cli.run(project=project, args=strict_args(['build', 'invalid-chars-in-dep.bst'], 'non-strict'))<
     /span>
    
    120 121
         result.assert_main_error(ErrorDomain.LOAD, "bad-characters-in-name")
    
    121 122
     
    
    122 123
     
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]