Path: blob/main/contrib/libarchive/unzip/test/test.h
39483 views
/*1* SPDX-License-Identifier: BSD-2-Clause2*3* Copyright (c) 2003-2017 Tim Kientzle4* All rights reserved.5*/67/* Every test program should #include "test.h" as the first thing. */89#define KNOWNREF "test_basic.zip.uu"10#define ENVBASE "BSDUNZIP" /* Prefix for environment variables. */11#define PROGRAM "bsdunzip" /* Name of program being tested. */12#define PROGRAM_ALIAS "unzip" /* Generic alias for program */13#undef LIBRARY /* Not testing a library. */14#undef EXTRA_DUMP /* How to dump extra data */15#undef EXTRA_ERRNO /* How to dump errno */16/* How to generate extra version info. */17#define EXTRA_VERSION (systemf("%s --version", testprog) ? "" : "")1819#include "test_common.h"202122