Remove debug lines from exec.cc
PiperOrigin-RevId: 379298590
This commit is contained in:
parent
5c9e846223
commit
397a59fc95
|
@ -306,9 +306,6 @@ TEST(ExecTest, InterpreterScriptNoPath) {
|
||||||
TempPath script = ASSERT_NO_ERRNO_AND_VALUE(
|
TempPath script = ASSERT_NO_ERRNO_AND_VALUE(
|
||||||
TempPath::CreateFileWith(GetAbsoluteTestTmpdir(), "#!\n\n", 0755));
|
TempPath::CreateFileWith(GetAbsoluteTestTmpdir(), "#!\n\n", 0755));
|
||||||
|
|
||||||
std::cerr << "path: " << script.path() << std::endl;
|
|
||||||
std::cerr << system(absl::StrCat("cat ", script.path()).c_str()) << std::endl;
|
|
||||||
|
|
||||||
int execve_errno;
|
int execve_errno;
|
||||||
ASSERT_NO_ERRNO_AND_VALUE(
|
ASSERT_NO_ERRNO_AND_VALUE(
|
||||||
ForkAndExec(script.path(), {script.path()}, {}, nullptr, &execve_errno));
|
ForkAndExec(script.path(), {script.path()}, {}, nullptr, &execve_errno));
|
||||||
|
|
Loading…
Reference in New Issue