X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2Fstdlib%2Fgetenv.c;h=e63cb53b35ec9a5fefc733d6e7d41f18e348a05b;hb=56bacb39160e13397fde32a36329461f3ae56ec1;hp=2a8b63466d913cac629e4e36c30919d33ce827b9;hpb=b08f4b52b1cd1f7a9553c0f357a7c90859fa3e73;p=pdclib diff --git a/platform/example/functions/stdlib/getenv.c b/platform/example/functions/stdlib/getenv.c index 2a8b634..e63cb53 100644 --- a/platform/example/functions/stdlib/getenv.c +++ b/platform/example/functions/stdlib/getenv.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* getenv( const char * ) This file is part of the Public Domain C Library (PDCLib). @@ -38,7 +36,8 @@ char * getenv( const char * name ) int main( void ) { - TESTCASE( strcmp( getenv( "SHELL" ), "/bin/sh" ) == 0 ); + TESTCASE( strcmp( getenv( "SHELL" ), "/bin/bash" ) == 0 ); + /* TESTCASE( strcmp( getenv( "SHELL" ), "/bin/sh" ) == 0 ); */ return TEST_RESULTS; }