X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2Fstdlib%2Fgetenv.c;h=72bbcd20bf8cfb112dfabfe64746457e23ca1f24;hb=18dee35aba1ae0fcdecb0cd11d4f3c1a0d94b51e;hp=2a8b63466d913cac629e4e36c30919d33ce827b9;hpb=b08f4b52b1cd1f7a9553c0f357a7c90859fa3e73;p=pdclib diff --git a/platform/example/functions/stdlib/getenv.c b/platform/example/functions/stdlib/getenv.c index 2a8b634..72bbcd2 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). @@ -34,11 +32,13 @@ char * getenv( const char * name ) #endif #ifdef TEST -#include <_PDCLIB_test.h> + +#include "_PDCLIB_test.h" 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; }