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);
270
Exec exec =
PrepareExec
(cmdLine);
280
Exec exec =
PrepareExec
("dir ||invalid||");
290
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? "echo [%cd%]" : "echo [$PWD]");
303
Exec exec =
PrepareExec
("echo [%cd%]");
326
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? "echo [%cd%]" : "echo [$PWD]");
361
Exec exec =
PrepareExec
("echo [hello]");
398
Exec exec =
PrepareExec
("echo [hello]");
436
Exec exec =
PrepareExec
("echo [hello]");
473
Exec exec =
PrepareExec
("echo [hello]");
558
Exec exec =
PrepareExec
("exit 0");
605
exec =
PrepareExec
(command);
636
Exec exec =
PrepareExec
("echo [%cd%]");
649
Exec exec =
PrepareExec
("echo [%cd%]");
663
exec =
PrepareExec
("echo Some output & echo Some output & echo Some output & echo Some output ");
667
exec =
PrepareExec
("echo Some output ; echo Some output ; echo Some output ; echo Some output ");
693
Exec exec =
PrepareExec
(cmdLine);
701
exec =
PrepareExec
(cmdLine);
724
Exec exec =
PrepareExec
(cmdLine);
733
exec =
PrepareExec
(cmdLine);
751
Exec exec =
PrepareExec
(cmdLine);
767
Exec exec =
PrepareExec
(cmdLine);
784
Exec exec =
PrepareExec
("echo unmatched curly {");
800
Exec exec =
PrepareExec
("echo unmatched curly {");
817
Exec exec =
PrepareExec
(cmdLine);
830
Exec exec =
PrepareExec
("echo YOGI BEAR ");
843
Exec exec =
PrepareExec
("echo [%cd%]");
877
Exec exec =
PrepareExec
("echo this is an innocuous successful command");
892
Exec exec =
PrepareExec
(" ");
924
Exec exec =
PrepareExec
("set foo=blah");
938
exec =
PrepareExec
(testString);
1062
Exec exec =
PrepareExec
(NativeMethodsShared.IsWindows ? $"type {textFilePath}" : $"cat {textFilePath}");