test: 50-getenv: Test PATH, allow to fail.
* lib/tests/posix/50-getenv.c (main): Test PATH. * build-aux/check-mescc.sh (broken): Add 50-getenv.
This commit is contained in:
parent
90b384def3
commit
d93b19f41f
|
@ -211,6 +211,7 @@ scaffold/tests/a1-global-no-clobber
|
|||
"
|
||||
|
||||
broken="$broken
|
||||
lib/tests/posix/50-getenv
|
||||
scaffold/tests/17-compare-unsigned-char-le
|
||||
scaffold/tests/17-compare-unsigned-short-le
|
||||
scaffold/tests/66-local-char-array
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* -*-comment-start: "//";comment-end:""-*-
|
||||
* GNU Mes --- Maxwell Equations of Software
|
||||
* Copyright © 2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||
* Copyright © 2018,2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||
*
|
||||
* This file is part of GNU Mes.
|
||||
*
|
||||
|
@ -25,7 +25,7 @@ int
|
|||
main (int argc, char const *argv[])
|
||||
{
|
||||
eputs ("test:getenv\n");
|
||||
if (getenv ("SHELL") == 0)
|
||||
if (getenv ("PATH") == 0)
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue