[all-commits] [llvm/llvm-project] 4c8acb: [libc][minor] Fix assertion in LlvmLibcFILETest.Si...

Alan Zhao via All-commits all-commits at lists.llvm.org
Thu Feb 6 12:57:43 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c8acbded152326ad138e1af340c0dbd5e31bbb7
      https://github.com/llvm/llvm-project/commit/4c8acbded152326ad138e1af340c0dbd5e31bbb7
  Author: Alan Zhao <ayzhao at google.com>
  Date:   2025-02-06 (Thu, 06 Feb 2025)

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

  Log Message:
  -----------
  [libc][minor] Fix assertion in LlvmLibcFILETest.SimpleFileOperations (#126109)

The file descriptor of the first opened file is not necessarily 3, so we
change the assertion so that it's >= 0 (i.e. not an error.)

Fixes #126106



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