Skip to content
  • Benjamin Berg's avatar
    tests: Fix detection of non-functional file permissions · 3b83240e
    Benjamin Berg authored
    If we rely on CI_PROJECT_NAME being set, then the test will fail in
    similar environments outside of the fprintd main CI. So just add a
    os.stat call afterwards to check whether the permission changes took
    effect, and if not, then skip.
    
    So, instead try to create a file and check that this fails.
    3b83240e