X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2Fstdlib%2Fgetenv.c;h=e63cb53b35ec9a5fefc733d6e7d41f18e348a05b;hb=b1fc26afebd4d557ff89a44bc21767a8704c3809;hp=aa2817aef661981236cd2a49d895e9d633e2f0c7;hpb=3f6094115e79a45413f08361b68b71eb08da306e;p=pdclib diff --git a/platform/example/functions/stdlib/getenv.c b/platform/example/functions/stdlib/getenv.c index aa2817a..e63cb53 100644 --- a/platform/example/functions/stdlib/getenv.c +++ b/platform/example/functions/stdlib/getenv.c @@ -1,7 +1,3 @@ -/* $Id$ */ - -/* Release $Name$ */ - /* getenv( const char * ) This file is part of the Public Domain C Library (PDCLib). @@ -38,10 +34,10 @@ char * getenv( const char * name ) #ifdef TEST #include <_PDCLIB_test.h> -int main() +int main( void ) { - BEGIN_TESTS; - TESTCASE( strcmp( getenv( "SHELL" ), "/bin/sh" ) == 0 ); + TESTCASE( strcmp( getenv( "SHELL" ), "/bin/bash" ) == 0 ); + /* TESTCASE( strcmp( getenv( "SHELL" ), "/bin/sh" ) == 0 ); */ return TEST_RESULTS; }