40 references to PrepareExec
Microsoft.Build.Tasks.UnitTests (40)
Exec_Tests.cs (40)
66
Exec exec =
PrepareExec
("echo Hello World!");
89
Exec exec =
PrepareExec
("echo LANG=$LANG; echo LC_ALL=$LC_ALL;");
129
Exec exec =
PrepareExec
("echo Four days until ZBB!");
146
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? "xcopy thisisanonexistentfile" : "cp thisisanonexistentfile thatisanonexistentfile");
164
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? ":foo \n goto foo" : "while true; do sleep 1; done");
194
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? ":foo \n goto foo" : "while true; do sleep 1; done");
214
var exec =
PrepareExec
("echo hello\r\n\r\n");
228
Exec exec =
PrepareExec
("exit 120");
242
Exec exec =
PrepareExec
(cmdLine);
269
Exec exec =
PrepareExec
(cmdLine);
279
Exec exec =
PrepareExec
("dir ||invalid||");
289
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? "echo [%cd%]" : "echo [$PWD]");
302
Exec exec =
PrepareExec
("echo [%cd%]");
325
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? "echo [%cd%]" : "echo [$PWD]");
360
Exec exec =
PrepareExec
("echo [hello]");
397
Exec exec =
PrepareExec
("echo [hello]");
435
Exec exec =
PrepareExec
("echo [hello]");
472
Exec exec =
PrepareExec
("echo [hello]");
557
Exec exec =
PrepareExec
("exit 0");
604
exec =
PrepareExec
(command);
635
Exec exec =
PrepareExec
("echo [%cd%]");
648
Exec exec =
PrepareExec
("echo [%cd%]");
662
exec =
PrepareExec
("echo Some output & echo Some output & echo Some output & echo Some output ");
666
exec =
PrepareExec
("echo Some output ; echo Some output ; echo Some output ; echo Some output ");
692
Exec exec =
PrepareExec
(cmdLine);
700
exec =
PrepareExec
(cmdLine);
723
Exec exec =
PrepareExec
(cmdLine);
732
exec =
PrepareExec
(cmdLine);
750
Exec exec =
PrepareExec
(cmdLine);
766
Exec exec =
PrepareExec
(cmdLine);
783
Exec exec =
PrepareExec
("echo unmatched curly {");
799
Exec exec =
PrepareExec
("echo unmatched curly {");
816
Exec exec =
PrepareExec
(cmdLine);
829
Exec exec =
PrepareExec
("echo YOGI BEAR ");
842
Exec exec =
PrepareExec
("echo [%cd%]");
876
Exec exec =
PrepareExec
("echo this is an innocuous successful command");
891
Exec exec =
PrepareExec
(" ");
923
Exec exec =
PrepareExec
("set foo=blah");
937
exec =
PrepareExec
(testString);
1061
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? $"type {textFilePath}" : $"cat {textFilePath}");