From 33aa50909fe2c223f9f515fae120cd6a21d04653 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Fri, 8 Dec 2023 05:41:27 -0700 Subject: [PATCH] Preserve the clichk test code for future use Signed-off-by: Ralph Castain (cherry picked from commit 45ed5b32e23c38886e43be65932cb84af68d7b51) --- .gitignore | 1 + test/Makefile | 5 +++-- test/clichk.c | 14 ++++++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 test/clichk.c diff --git a/.gitignore b/.gitignore index f53bf4e4b6..3c16e466b5 100644 --- a/.gitignore +++ b/.gitignore @@ -184,6 +184,7 @@ test/qspawn test/filegen test/iostress test/spawn_multiple +test/clichk docs/_build docs/_static diff --git a/test/Makefile b/test/Makefile index c9a042eff7..8d2e883069 100644 --- a/test/Makefile +++ b/test/Makefile @@ -14,7 +14,7 @@ # Copyright (c) 2012 Los Alamos National Security, Inc. All rights reserved. # Copyright (c) 2013 Mellanox Technologies, Inc. All rights reserved. # Copyright (c) 2016-2020 Intel, Inc. All rights reserved. -# Copyright (c) 2021-2022 Nanook Consulting. All rights reserved. +# Copyright (c) 2021-2023 Nanook Consulting. All rights reserved. # Copyright (c) 2023 Triad National Security, LLC. All rights reserved. # $COPYRIGHT$ # @@ -50,7 +50,8 @@ TESTS = \ cmspawn \ qspawn \ iostress \ - filegen + filegen \ + clichk all: $(TESTS) diff --git a/test/clichk.c b/test/clichk.c new file mode 100644 index 0000000000..cc524a3a0d --- /dev/null +++ b/test/clichk.c @@ -0,0 +1,14 @@ +#define _GNU_SOURCE +#include +#include +#include +#include + +#include + +int main(int argc, char **argv) +{ + char *tmp = PMIx_Argv_join(argv, ' '); + fprintf(stderr, "CMDLINE: %s\n", tmp); + return 0; +}