diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-12-02 02:27:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-12-02 02:27:43 +0000 |
commit | 30c063710e4fa97b4015ef6d7b01adef0dcd8730 (patch) | |
tree | e9c60ce3376d3c7d5f2fd959aaf90a02f68b488a /stdlib/tst-unsetenv1.c | |
parent | 1fa7ae05b99220ac4590781fdf9fad437900275a (diff) | |
download | glibc-30c063710e4fa97b4015ef6d7b01adef0dcd8730.tar.gz glibc-30c063710e4fa97b4015ef6d7b01adef0dcd8730.tar.xz glibc-30c063710e4fa97b4015ef6d7b01adef0dcd8730.zip |
* stdlib/Makefile (tests): Add tst-unsetenv1.
* stdlib/tst-unsetenv1.c: New file.
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" |