-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support matching stdout for system #206
Conversation
fix clippy test heredoc Signed-off-by: xxchan <[email protected]>
Signed-off-by: xxchan <[email protected]>
Signed-off-by: xxchan <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good
sqllogictest/src/runner.rs
Outdated
#[error("process exited unsuccessfully: {0}")] // message from unstable `ExitStatusError` | ||
struct SystemError(ExitStatus); | ||
#[error("process exited unsuccessfully: {0}\nstdout: {1}\nstderr: {2}")] | ||
struct SystemError(ExitStatus, String, String); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
struct SystemError(ExitStatus, String, String); | |
struct SystemError { | |
status: ExitStatus, | |
stdout: String, | |
stderr: String | |
}; |
|
||
|
||
# Note: when substitution is on, we need to escape the backslash | ||
# Note: 1 blank line in the middle is ok, but not 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if the system command really contain 2 consecutive blank lines? 😕
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ntfs
Signed-off-by: xxchan <[email protected]>
Signed-off-by: xxchan <[email protected]>
No description provided.