From d647bd698516b5d868d3c22c86936cc2ada6b70c Mon Sep 17 00:00:00 2001 From: Pip Cet Date: Sat, 30 Jan 2021 17:33:53 +0000 Subject: [PATCH] testsuite/023-env/001.c: new test --- testsuite/023-env/001.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 testsuite/023-env/001.c diff --git a/testsuite/023-env/001.c b/testsuite/023-env/001.c new file mode 100644 index 00000000..bdcad85b --- /dev/null +++ b/testsuite/023-env/001.c @@ -0,0 +1,9 @@ +#include + +int main(int argc, char **argv, char **envp) +{ + while (*envp) { + printf("%s\n", *envp++); + } + return 0; +}