X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2Fstdlib%2Fgetenv.c;h=4eb70102e54614867676813e30ba6a4d8ec18184;hb=81f4c957d2f820d9340d90d5b650cbbed054caa0;hp=3bad450a73a976af2a67da6efa835396942253d8;hpb=12e17136786afb1775c9dc946cbe41f5e230c24a;p=pdclib.old diff --git a/platform/example/functions/stdlib/getenv.c b/platform/example/functions/stdlib/getenv.c index 3bad450..4eb7010 100644 --- a/platform/example/functions/stdlib/getenv.c +++ b/platform/example/functions/stdlib/getenv.c @@ -1,7 +1,5 @@ /* $Id$ */ -/* Release $Name$ */ - /* getenv( const char * ) This file is part of the Public Domain C Library (PDCLib). @@ -40,7 +38,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; }