test.h 697 B

1234567891011121314151617181920
  1. /*
  2. * SPDX-License-Identifier: BSD-2-Clause
  3. *
  4. * Copyright (c) 2003-2017 Tim Kientzle
  5. * All rights reserved.
  6. */
  7. /* Every test program should #include "test.h" as the first thing. */
  8. #define KNOWNREF "test_option_f.cpio.uu"
  9. #define ENVBASE "BSDCPIO" /* Prefix for environment variables. */
  10. #define PROGRAM "bsdcpio" /* Name of program being tested. */
  11. #define PROGRAM_ALIAS "cpio" /* Generic alias for program */
  12. #undef LIBRARY /* Not testing a library. */
  13. #undef EXTRA_DUMP /* How to dump extra data */
  14. #undef EXTRA_ERRNO /* How to dump errno */
  15. /* How to generate extra version info. */
  16. #define EXTRA_VERSION (systemf("%s --version", testprog) ? "" : "")
  17. #include "test_common.h"