2 # This suite builds and uses a program returning 1.
3 # tesh is instructed of this return code and must not whine.
12 < extern char **environ;
14 < char **env_iter=environ;
16 < if (!strncmp(*env_iter,"tesh_test_toto=",strlen("tesh_test_toto=")))
17 < printf("%s\n",*env_iter);
24 $ gcc -o getenv getenv.c -g
26 ! setenv tesh_test_toto=blah