1caf54c4fSMartin Matuska /* 2*bd66c1b4SMartin Matuska * SPDX-License-Identifier: BSD-2-Clause 3*bd66c1b4SMartin Matuska * 464287048SMartin Matuska * Copyright (c) 2003-2017 Tim Kientzle 5caf54c4fSMartin Matuska * All rights reserved. 6caf54c4fSMartin Matuska */ 7caf54c4fSMartin Matuska 8caf54c4fSMartin Matuska /* Every test program should #include "test.h" as the first thing. */ 9caf54c4fSMartin Matuska 1064287048SMartin Matuska #define KNOWNREF "test_patterns_2.tar.uu" 1164287048SMartin Matuska #define ENVBASE "BSDTAR" /* Prefix for environment variables. */ 1264287048SMartin Matuska #define PROGRAM "bsdtar" /* Name of program being tested. */ 1364287048SMartin Matuska #define PROGRAM_ALIAS "tar" /* Generic alias for program */ 1464287048SMartin Matuska #undef LIBRARY /* Not testing a library. */ 1564287048SMartin Matuska #undef EXTRA_DUMP /* How to dump extra data */ 1664287048SMartin Matuska #undef EXTRA_ERRNO /* How to dump errno */ 1764287048SMartin Matuska /* How to generate extra version info. */ 1864287048SMartin Matuska #define EXTRA_VERSION (systemf("%s --version", testprog) ? "" : "") 19caf54c4fSMartin Matuska 2064287048SMartin Matuska #include "test_common.h" 21