Skip to content
Snippets Groups Projects
Commit 7693b146 authored by toole1's avatar toole1
Browse files

monad update

git-svn-id: https://subversion.cs.illinois.edu/svn/cs225@4563 6fbd10e7-183d-0410-a318-cb416676e4f2
parent bc3409d1
No related branches found
No related tags found
No related merge requests found
monad identification file monad identification file
This file is used for monad directory identification This file is used for monad directory identification
Built by toole1 on linux2.ews.illinois.edu Built by toole1 on linux4.ews.illinois.edu
Build Date: Tue Sep 13 12:58:29 CDT 2011 Build Date: Sun Sep 18 21:12:20 CDT 2011
No preview for this file type
...@@ -38,7 +38,7 @@ namespace proxy ...@@ -38,7 +38,7 @@ namespace proxy
namespace opts namespace opts
{ {
bool verbose = true; bool verbose = false;
bool redirect_test_output = true; bool redirect_test_output = true;
} }
...@@ -172,7 +172,7 @@ RunTests::RunTests(int argc, char ** argv, RunTimeEnvironment & env) ...@@ -172,7 +172,7 @@ RunTests::RunTests(int argc, char ** argv, RunTimeEnvironment & env)
: environment(env) : environment(env)
{ {
process_args(argc, argv); // sets up mode and test_arg process_args(argc, argv); // sets up mode and test_arg
redirect_glibc_to_stderr(); // redirect_glibc_to_stderr();
} }
......
...@@ -112,9 +112,13 @@ int8_t exec(int redirect_fd, const char * command, ...@@ -112,9 +112,13 @@ int8_t exec(int redirect_fd, const char * command,
} }
// Sanitize the environment // Sanitize the environment
#if 1 //!! hack!
char path[] = "PATH=/bin/:/usr/bin:/usr/local/bin"; char path[] = "PATH=/bin/:/usr/bin:/usr/local/bin";
char * newenv[] = { path, NULL }; char redirect_glibc[] = "LIBC_FATAL_STDERR_=1";
char * newenv[] = { path, redirect_glibc, NULL };
//char * newenv[] = { path, NULL };
environ = newenv; environ = newenv;
#endif
// Swap out child process image with the command, searching // Swap out child process image with the command, searching
// in the specified path // in the specified path
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment