Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/contrib/libarchive/cat/test/test.h
39536 views
1
/*
2
* SPDX-License-Identifier: BSD-2-Clause
3
*
4
* Copyright (c) 2003-2006 Tim Kientzle
5
* All rights reserved.
6
*/
7
8
/* Every test program should #include "test.h" as the first thing. */
9
10
#define KNOWNREF "test_expand.Z.uu"
11
#define ENVBASE "BSDCAT" /* Prefix for environment variables. */
12
#define PROGRAM "bsdcat" /* Name of program being tested. */
13
#define PROGRAM_ALIAS "cat" /* Generic alias for program */
14
#undef LIBRARY /* Not testing a library. */
15
#undef EXTRA_DUMP /* How to dump extra data */
16
#undef EXTRA_ERRNO /* How to dump errno */
17
/* How to generate extra version info. */
18
#define EXTRA_VERSION (systemf("%s --version", testprog) ? "" : "")
19
20
#include "test_common.h"
21
22