[all-commits] [llvm/llvm-project] bfc754: [libc] Fix file collision causing test flake (#106...

Michael Jones via All-commits all-commits at lists.llvm.org
Mon Aug 26 12:04:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bfc7540e15e29ba5e73cdeb22a825138f1be609a
      https://github.com/llvm/llvm-project/commit/bfc7540e15e29ba5e73cdeb22a825138f1be609a
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-08-26 (Mon, 26 Aug 2024)

  Changed paths:
    M libc/test/src/stdio/vfscanf_test.cpp

  Log Message:
  -----------
  [libc] Fix file collision causing test flake (#106119)

In patch #105293 tests for vfscanf were added, meant to be identical to
the fscanf tests. Unfortunately, the author forgot to rename the target
file causing an occasional test flake where one test writes to the file
while the other is trying to read it. This patch fixes the issue by
renaming the target test file for the vfscanf test.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list