mirror of
https://github.com/qwjyh/xdbm
synced 2025-02-23 19:47:06 +09:00
debug(CI): return err at the end of test using libgit2
This commit is contained in:
parent
22817d1354
commit
3922d634b6
1 changed files with 15 additions and 1 deletions
16
tests/cli.rs
16
tests/cli.rs
|
@ -54,7 +54,21 @@ mod integrated_test {
|
|||
.wait()
|
||||
.context("didn't complete")?;
|
||||
eprintln!("{}", git_status);
|
||||
Ok(())
|
||||
let git_config = std::process::Command::new("git")
|
||||
.args(["config", "--list"])
|
||||
.spawn()
|
||||
.context("git status")?
|
||||
.wait()
|
||||
.context("didn't complete")?;
|
||||
eprintln!("{}", git_config);
|
||||
let git_config = std::process::Command::new("git")
|
||||
.args(["config", "--list", "--local"])
|
||||
.spawn()
|
||||
.context("git status")?
|
||||
.wait()
|
||||
.context("didn't complete")?;
|
||||
eprintln!("{}", git_config);
|
||||
Err(anyhow::anyhow!("finished (error for debug)"))
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in a new issue