Delegate running the test dummy to a script #296
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
22 errors
I can execute a command with a configured awaiter:
CliWrap.Tests/ExecutionSpecs.cs#L45
System.ComponentModel.Win32Exception : Failed to start a process with file path '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
---- System.ComponentModel.Win32Exception : An error occurred trying to start process '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0'. Permission denied
|
I can execute a command and get the exit code and execution time:
CliWrap.Tests/ExecutionSpecs.cs#L16
System.ComponentModel.Win32Exception : Failed to start a process with file path '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
---- System.ComponentModel.Win32Exception : An error occurred trying to start process '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0'. Permission denied
|
I can execute a command and get the associated process ID:
CliWrap.Tests/ExecutionSpecs.cs#L30
System.ComponentModel.Win32Exception : Failed to start a process with file path '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
---- System.ComponentModel.Win32Exception : An error occurred trying to start process '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0'. Permission denied
|
I can execute a command and not hang on large stdout and stderr:
CliWrap.Tests/ExecutionSpecs.cs#L55
System.ComponentModel.Win32Exception : Failed to start a process with file path '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
---- System.ComponentModel.Win32Exception : An error occurred trying to start process '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0'. Permission denied
|
I can execute a command and split the stdout by newline:
CliWrap.Tests/LineBreakSpecs.cs#L17
System.ComponentModel.Win32Exception : Failed to start a process with file path '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
---- System.ComponentModel.Win32Exception : An error occurred trying to start process '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0'. Permission denied
|
I can execute a command and split the stdout by newline while including empty lines:
CliWrap.Tests/LineBreakSpecs.cs#L89
System.ComponentModel.Win32Exception : Failed to start a process with file path '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
---- System.ComponentModel.Win32Exception : An error occurred trying to start process '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0'. Permission denied
|
I can execute a command and split the stdout by caret return:
CliWrap.Tests/LineBreakSpecs.cs#L41
System.ComponentModel.Win32Exception : Failed to start a process with file path '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
---- System.ComponentModel.Win32Exception : An error occurred trying to start process '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0'. Permission denied
|
I can execute a command and split the stdout by caret return followed by newline:
CliWrap.Tests/LineBreakSpecs.cs#L65
System.ComponentModel.Win32Exception : Failed to start a process with file path '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
---- System.ComponentModel.Win32Exception : An error occurred trying to start process '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0'. Permission denied
|
I can execute a command with buffering and not hang on large stdout and stderr:
CliWrap.Tests/BufferedSpecs.cs#L72
System.ComponentModel.Win32Exception : Failed to start a process with file path '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
---- System.ComponentModel.Win32Exception : An error occurred trying to start process '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0'. Permission denied
|
I can execute a command with buffering and get the stdout:
CliWrap.Tests/BufferedSpecs.cs#L15
System.ComponentModel.Win32Exception : Failed to start a process with file path '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
---- System.ComponentModel.Win32Exception : An error occurred trying to start process '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/home/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0'. Permission denied
|
I can execute a command with a custom working directory:
CliWrap.Tests/EnvironmentSpecs.cs#L17
System.ComponentModel.Win32Exception : Failed to start a process with file path '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
---- System.ComponentModel.Win32Exception : An error occurred trying to start process '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/Temp/c9b81b23-3a8b-4913-b3da-525c365705c2'. Permission denied
|
I can execute a command without validating the exit code:
CliWrap.Tests/ValidationSpecs.cs#L64
System.ComponentModel.Win32Exception : Failed to start a process with file path '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
---- System.ComponentModel.Win32Exception : An error occurred trying to start process '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0'. Permission denied
|
I can execute a command with some environment variables overwritten:
CliWrap.Tests/EnvironmentSpecs.cs#L58
System.ComponentModel.Win32Exception : Failed to start a process with file path '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
---- System.ComponentModel.Win32Exception : An error occurred trying to start process '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0'. Permission denied
|
I can execute a command with additional environment variables:
CliWrap.Tests/EnvironmentSpecs.cs#L34
System.ComponentModel.Win32Exception : Failed to start a process with file path '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
---- System.ComponentModel.Win32Exception : An error occurred trying to start process '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0'. Permission denied
|
I can execute a command and get an error if it returns a non zero exit code:
CliWrap.Tests/ValidationSpecs.cs#L21
Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(CliWrap.Exceptions.CommandExecutionException)
Actual: typeof(System.ComponentModel.Win32Exception)
---- System.ComponentModel.Win32Exception : Failed to start a process with file path '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
-------- System.ComponentModel.Win32Exception : An error occurred trying to start process '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0'. Permission denied
|
I can execute a command and pipe the stdin from a string:
CliWrap.Tests/PipingSpecs.cs#L127
System.ComponentModel.Win32Exception : Failed to start a process with file path '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
---- System.ComponentModel.Win32Exception : An error occurred trying to start process '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0'. Permission denied
|
I can execute a command with buffering and get a detailed exception if it returns a non zero exit code:
CliWrap.Tests/ValidationSpecs.cs#L42
Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(CliWrap.Exceptions.CommandExecutionException)
Actual: typeof(System.ComponentModel.Win32Exception)
---- System.ComponentModel.Win32Exception : Failed to start a process with file path '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
-------- System.ComponentModel.Win32Exception : An error occurred trying to start process '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0'. Permission denied
|
I can execute a command and pipe the stdout and stderr into separate async delegates with cancellation:
CliWrap.Tests/PipingSpecs.cs#L440
System.ComponentModel.Win32Exception : Failed to start a process with file path '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
---- System.ComponentModel.Win32Exception : An error occurred trying to start process '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0'. Permission denied
|
I can execute a command and pipe the stdout into an async anonymous target:
CliWrap.Tests/PipingSpecs.cs#L186
System.ComponentModel.Win32Exception : Failed to start a process with file path '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
---- System.ComponentModel.Win32Exception : An error occurred trying to start process '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0'. Permission denied
|
I can execute a command and pipe the stdout into a file:
CliWrap.Tests/PipingSpecs.cs#L253
System.ComponentModel.Win32Exception : Failed to start a process with file path '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh'. Target file or working directory doesn't exist, or the provided credentials are invalid.
---- System.ComponentModel.Win32Exception : An error occurred trying to start process '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0/run-dummy.sh' with working directory '/Users/runner/work/CliWrap/CliWrap/CliWrap.Tests/bin/Release/net7.0'. Permission denied
|
I can execute a command with buffering and cancel it gracefully after a delay:
CliWrap.Tests/CancellationSpecs.cs#L153
Test execution timed out after 15000 milliseconds
|
main / test (windows-latest)
Process completed with exit code 1.
|