[all-commits] [llvm/llvm-project] 68de58: [libcxx] [test] Fix filesystem permission tests fo...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue May 11 10:46:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 68de58cd649cb3a3e94a1c9552ebf2a18bb9d040
      https://github.com/llvm/llvm-project/commit/68de58cd649cb3a3e94a1c9552ebf2a18bb9d040
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
    M libcxx/test/support/filesystem_test_helper.h

  Log Message:
  -----------
  [libcxx] [test] Fix filesystem permission tests for windows

On Windows, the permission bits are mapped down to essentially only
two possible states; readonly or readwrite. Normalize the checked
permission bitmask to match what the implementation will return.

Differential Revision: https://reviews.llvm.org/D101728




More information about the All-commits mailing list