[all-commits] [llvm/llvm-project] ed34cb: [libc] Add a test for `fputs` to check using `stdo...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Jun 16 09:02:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed34cb2cd78143a3ec99a91fe2db79bdb1ddfd85
      https://github.com/llvm/llvm-project/commit/ed34cb2cd78143a3ec99a91fe2db79bdb1ddfd85
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-06-16 (Fri, 16 Jun 2023)

  Changed paths:
    M libc/test/src/stdio/CMakeLists.txt
    A libc/test/src/stdio/fputs_test.cpp

  Log Message:
  -----------
  [libc] Add a test for `fputs` to check using `stdout` and `stderr`

This patch adds a test directly for the `fputs` function similar to the
existing `puts` test. This lets us know that the default file pointers
are function and the `fputs` interface works.

Reviewed By: lntue

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




More information about the All-commits mailing list