40 references to PrepareExec
Microsoft.Build.Tasks.UnitTests (40)
Exec_Tests.cs (40)
67
Exec exec =
PrepareExec
("echo Hello World!");
90
Exec exec =
PrepareExec
("echo LANG=$LANG; echo LC_ALL=$LC_ALL;");
130
Exec exec =
PrepareExec
("echo Four days until ZBB!");
147
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? "xcopy thisisanonexistentfile" : "cp thisisanonexistentfile thatisanonexistentfile");
165
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? ":foo \n goto foo" : "while true; do sleep 1; done");
195
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? ":foo \n goto foo" : "while true; do sleep 1; done");
215
var exec =
PrepareExec
("echo hello\r\n\r\n");
229
Exec exec =
PrepareExec
("exit 120");
243
Exec exec =
PrepareExec
(cmdLine);
259
Exec exec =
PrepareExec
(cmdLine);
269
Exec exec =
PrepareExec
("dir ||invalid||");
279
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? "echo [%cd%]" : "echo [$PWD]");
292
Exec exec =
PrepareExec
("echo [%cd%]");
315
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? "echo [%cd%]" : "echo [$PWD]");
350
Exec exec =
PrepareExec
("echo [hello]");
387
Exec exec =
PrepareExec
("echo [hello]");
425
Exec exec =
PrepareExec
("echo [hello]");
462
Exec exec =
PrepareExec
("echo [hello]");
547
Exec exec =
PrepareExec
("exit 0");
594
exec =
PrepareExec
(command);
625
Exec exec =
PrepareExec
("echo [%cd%]");
638
Exec exec =
PrepareExec
("echo [%cd%]");
652
exec =
PrepareExec
("echo Some output & echo Some output & echo Some output & echo Some output ");
656
exec =
PrepareExec
("echo Some output ; echo Some output ; echo Some output ; echo Some output ");
682
Exec exec =
PrepareExec
(cmdLine);
690
exec =
PrepareExec
(cmdLine);
713
Exec exec =
PrepareExec
(cmdLine);
722
exec =
PrepareExec
(cmdLine);
740
Exec exec =
PrepareExec
(cmdLine);
756
Exec exec =
PrepareExec
(cmdLine);
773
Exec exec =
PrepareExec
("echo unmatched curly {");
789
Exec exec =
PrepareExec
("echo unmatched curly {");
806
Exec exec =
PrepareExec
(cmdLine);
819
Exec exec =
PrepareExec
("echo YOGI BEAR ");
832
Exec exec =
PrepareExec
("echo [%cd%]");
866
Exec exec =
PrepareExec
("echo this is an innocuous successful command");
881
Exec exec =
PrepareExec
(" ");
913
Exec exec =
PrepareExec
("set foo=blah");
927
exec =
PrepareExec
(testString);
1051
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? $"type {textFilePath}" : $"cat {textFilePath}");