X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2Fstdlib%2Fgetenv.c;h=4eb70102e54614867676813e30ba6a4d8ec18184;hb=66c9a724d570ec507c640f6708fe48c4b8ca8b80;hp=3bad450a73a976af2a67da6efa835396942253d8;hpb=d02f38605b53cdff5460cc6b9e1b2a80c3a2ba4c;p=pdclib 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; }