Skip to content
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

windows hooks not working in vanilla powershell #691

Closed
extrawurst opened this issue May 9, 2021 · 1 comment
Closed

windows hooks not working in vanilla powershell #691

extrawurst opened this issue May 9, 2021 · 1 comment
Labels
dormant Marked by stale bot on close good first issue Good for newcomers help wanted Extra attention is needed windows

Comments

@extrawurst
Copy link
Owner

related #235 #313

it appears that running gitui in vanilla powershell (no git bash, no wsl) fail:

failures:

---- sync::hooks::tests::test_commit_msg_no_block_but_alter stdout ----
thread 'sync::hooks::tests::test_commit_msg_no_block_but_alter' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Os 
{ code: 2, kind: NotFound, message: "The system cannot find the file specified." })', asyncgit\src\sync\hooks.rs:360:57

---- sync::hooks::tests::test_hooks_commit_msg_ok stdout ----
thread 'sync::hooks::tests::test_hooks_commit_msg_ok' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." })', asyncgit\src\sync\hooks.rs:207:57

---- sync::hooks::tests::test_hooks_commit_msg_reject stdout ----
thread 'sync::hooks::tests::test_hooks_commit_msg_reject' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." })', asyncgit\src\sync\hooks.rs:306:57

---- sync::hooks::tests::test_hooks_commit_msg_reject_in_subfolder stdout ----
thread 'sync::hooks::tests::test_hooks_commit_msg_reject_in_subfolder' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." })', asyncgit\src\sync\hooks.rs:336:18  

---- sync::hooks::tests::test_post_commit_hook_reject_in_subfolder stdout ----
thread 'sync::hooks::tests::test_post_commit_hook_reject_in_subfolder' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." })', asyncgit\src\sync\hooks.rs:382:60  

---- sync::hooks::tests::test_pre_commit_fail_py stdout ----
thread 'sync::hooks::tests::test_pre_commit_fail_py' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Os { code: 2, 
kind: NotFound, message: "The system cannot find the file specified." })', asyncgit\src\sync\hooks.rs:287:47

---- sync::hooks::tests::test_pre_commit_fail_sh stdout ----
thread 'sync::hooks::tests::test_pre_commit_fail_sh' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Os { code: 2, 
kind: NotFound, message: "The system cannot find the file specified." })', asyncgit\src\sync\hooks.rs:241:47

---- sync::hooks::tests::test_pre_commit_py stdout ----
thread 'sync::hooks::tests::test_pre_commit_py' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." })', asyncgit\src\sync\hooks.rs:264:47

---- sync::hooks::tests::test_pre_commit_sh stdout ----
thread 'sync::hooks::tests::test_pre_commit_sh' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." })', asyncgit\src\sync\hooks.rs:225:47


failures:
    sync::hooks::tests::test_commit_msg_no_block_but_alter
    sync::hooks::tests::test_hooks_commit_msg_ok
    sync::hooks::tests::test_hooks_commit_msg_reject
    sync::hooks::tests::test_hooks_commit_msg_reject_in_subfolder
    sync::hooks::tests::test_post_commit_hook_reject_in_subfolder
    sync::hooks::tests::test_pre_commit_fail_py
    sync::hooks::tests::test_pre_commit_fail_sh
    sync::hooks::tests::test_pre_commit_py
    sync::hooks::tests::test_pre_commit_sh

test result: FAILED. 113 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 59.96s
@extrawurst extrawurst added help wanted Extra attention is needed good first issue Good for newcomers windows labels May 9, 2021
@stale
Copy link

stale bot commented Aug 8, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the dormant Marked by stale bot on close label Aug 8, 2021
@stale stale bot closed this as completed Aug 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dormant Marked by stale bot on close good first issue Good for newcomers help wanted Extra attention is needed windows
Projects
None yet
Development

No branches or pull requests

1 participant