40 references to PrepareExec
Microsoft.Build.Tasks.UnitTests (40)
Exec_Tests.cs (40)
68
Exec exec =
PrepareExec
("echo Hello World!");
91
Exec exec =
PrepareExec
("echo LANG=$LANG; echo LC_ALL=$LC_ALL;");
131
Exec exec =
PrepareExec
("echo Four days until ZBB!");
148
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? "xcopy thisisanonexistentfile" : "cp thisisanonexistentfile thatisanonexistentfile");
166
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? ":foo \n goto foo" : "while true; do sleep 1; done");
185
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? ":foo \n goto foo" : "while true; do sleep 1; done");
205
var exec =
PrepareExec
("echo hello\r\n\r\n");
219
Exec exec =
PrepareExec
("exit 120");
233
Exec exec =
PrepareExec
(cmdLine);
249
Exec exec =
PrepareExec
(cmdLine);
259
Exec exec =
PrepareExec
("dir ||invalid||");
269
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? "echo [%cd%]" : "echo [$PWD]");
282
Exec exec =
PrepareExec
("echo [%cd%]");
305
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? "echo [%cd%]" : "echo [$PWD]");
340
Exec exec =
PrepareExec
("echo [hello]");
377
Exec exec =
PrepareExec
("echo [hello]");
415
Exec exec =
PrepareExec
("echo [hello]");
452
Exec exec =
PrepareExec
("echo [hello]");
537
Exec exec =
PrepareExec
("exit 0");
584
exec =
PrepareExec
(command);
615
Exec exec =
PrepareExec
("echo [%cd%]");
628
Exec exec =
PrepareExec
("echo [%cd%]");
642
exec =
PrepareExec
("echo Some output & echo Some output & echo Some output & echo Some output ");
646
exec =
PrepareExec
("echo Some output ; echo Some output ; echo Some output ; echo Some output ");
672
Exec exec =
PrepareExec
(cmdLine);
680
exec =
PrepareExec
(cmdLine);
703
Exec exec =
PrepareExec
(cmdLine);
712
exec =
PrepareExec
(cmdLine);
730
Exec exec =
PrepareExec
(cmdLine);
746
Exec exec =
PrepareExec
(cmdLine);
763
Exec exec =
PrepareExec
("echo unmatched curly {");
779
Exec exec =
PrepareExec
("echo unmatched curly {");
796
Exec exec =
PrepareExec
(cmdLine);
809
Exec exec =
PrepareExec
("echo YOGI BEAR ");
822
Exec exec =
PrepareExec
("echo [%cd%]");
856
Exec exec =
PrepareExec
("echo this is an innocuous successful command");
871
Exec exec =
PrepareExec
(" ");
903
Exec exec =
PrepareExec
("set foo=blah");
917
exec =
PrepareExec
(testString);
1041
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? $"type {textFilePath}" : $"cat {textFilePath}");