diff options
Diffstat (limited to 'stdlib/tst-unsetenv1.c')
-rw-r--r-- | stdlib/tst-unsetenv1.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/stdlib/tst-unsetenv1.c b/stdlib/tst-unsetenv1.c new file mode 100644 index 0000000000..a2a760d241 --- /dev/null +++ b/stdlib/tst-unsetenv1.c @@ -0,0 +1,12 @@ +#include <stdlib.h> + +static int +do_test (void) +{ + clearenv (); + unsetenv ("FOO"); + return 0; +} + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |