diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-01-07 19:55:37 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-01-07 19:55:37 +0000 |
commit | ca9211ecdede9bdedb812b2243a4abdb8dacd1b9 (patch) | |
tree | 9b19e801150082c33e9152275829a6ce90614b55 /lib/asan/lit_tests/TestCases/Helpers/echo-env.cc | |
parent | 8ef50bf3d1c287b5013c3168de77a462dfce3495 (diff) |
Notes
Diffstat (limited to 'lib/asan/lit_tests/TestCases/Helpers/echo-env.cc')
-rw-r--r-- | lib/asan/lit_tests/TestCases/Helpers/echo-env.cc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/asan/lit_tests/TestCases/Helpers/echo-env.cc b/lib/asan/lit_tests/TestCases/Helpers/echo-env.cc deleted file mode 100644 index 65e91c155c846..0000000000000 --- a/lib/asan/lit_tests/TestCases/Helpers/echo-env.cc +++ /dev/null @@ -1,19 +0,0 @@ -// Helper binary for -// lit_tests/TestCases/Darwin/unset-insert-libraries-on-exec.cc -// Prints the environment variable with the given name. -#include <stdio.h> -#include <stdlib.h> - -int main(int argc, char *argv[]) { - if (argc != 2) { - printf("Usage: %s ENVNAME\n", argv[0]); - exit(1); - } - const char *value = getenv(argv[1]); - if (value) { - printf("%s = %s\n", argv[1], value); - } else { - printf("%s not set.\n", argv[1]); - } - return 0; -} |