X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2Fstdlib%2Fgetenv.c;h=30ed1dec51bcb96e05f7646300cfafbcb86ebcfb;hb=d6f1494a4f38a212b29a13ee713885058dcf0fe7;hp=2a8b63466d913cac629e4e36c30919d33ce827b9;hpb=b08f4b52b1cd1f7a9553c0f357a7c90859fa3e73;p=pdclib diff --git a/platform/example/functions/stdlib/getenv.c b/platform/example/functions/stdlib/getenv.c index 2a8b634..30ed1de 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,12 @@ 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; }