]> git.ipfire.org Git - thirdparty/zstd.git/commit
Allow tests to fake stdin/stdout/stderr is a console
authorNick Terrell <terrelln@fb.com>
Fri, 14 Jan 2022 20:37:32 +0000 (12:37 -0800)
committerNick Terrell <nickrterrell@gmail.com>
Wed, 14 Dec 2022 23:44:09 +0000 (15:44 -0800)
commite58a39f84e988e4229067372b4f30601dcfc484b
tree8011d68d685f9eb67e6367c27886bf975a4a4b96
parent031de3c69ccbf3282ed02fb49369b476730aeca8
Allow tests to fake stdin/stdout/stderr is a console

We've been unable to effectively test cases where stdin/stdout/stderr
are consoles, because in our test cases they generally aren't. Allow the
command line flags `--fake-std{in,out,err}-is-console` to tell the CLI
to pretend that std{in,out,err} is a console.
programs/fileio.c
programs/platform.h
programs/util.c
programs/util.h
programs/zstdcli.c