Code

History

Commits on write-tree to gix-command/tests/command.rs35+
  1. Add tests for `$0` deriving from the actually-running shellEliah Kagan committed 5 months agod62e33c
  2. Pass sh (not --) as $0 to sh -cSarthakB11 committed 5 months ago6752a96
  3. Update crates to Rust 2024 editionGPT 5.5 committed 6 months ago2cb17b2
  4. add fuzz tests for 10 more crates, and related fixesGPT 5.4 committed 6 months ago0396152
  5. fix gix-command expectations which changed with Rust 1.93Sebastian Thiel committed 9 months agocc3310b
  6. Don't run `shell_builtin_or_command_in_path*` on WindowsEliah Kagan committed 10 months ago81fa44c
  7. Add tests that call `with_shell()` to force shell builtinsEliah Kagan committed 10 months agod2d75bb
  8. Add fixed `sh_shell_specific_script_code_with*` testsEliah Kagan committed 10 months ago32dce7c
  9. Reorder `spawn::with_shell` test casesEliah Kagan committed 10 months ago909f961
  10. Add a zero-argument test case like those just renamedEliah Kagan committed 10 months agod08333c
  11. Rename tests that meant to run builtins but run external commandsEliah Kagan committed 10 months ago5af8987
  12. Fix tests of `gix-command` external commands on WindowsEliah Kagan committed 10 months ago548e658
  13. Fixup Copilot commits and thank clippySebastian Thiel committed 1 year agob188a7d
  14. Update MSRV to 1.82 and replace once_cell with std equivalentscopilot-swe-agent[bot] committed 1 year ago6cc8464
  15. fix: `Prepare::with_shell()` now assures manual argument splitting isn't done on Windows either.Sebastian Thiel committed 1 year agoa5ba202
  16. j fmtSebastian Thiel committed 1 year agoc3c6504
  17. Use raw literals for more strings with backslashesEliah Kagan committed 1 year ago01bd76d
  18. feat: Use `gix_path::env::shell()` in `gix-command` for shEliah Kagan committed 1 year agoc7d06a6
  19. Test environment_variables_are_passed_one_by_one on WindowsEliah Kagan committed 1 year ago4fc1092
  20. Fix and enable disallow_shell test on WindowsEliah Kagan committed 1 year ago0e451d0
  21. fix hardcoded path test on nixosBryce Berger committed 1 year agob085899
  22. feat: add `Preprae::with_quoted_command()` (#1799)Sebastian Thiel committed 1 year ago435984b
  23. fix!: rename `with_shell()` to `command_may_be_shell_script()`, add `with_shell()` to enforce using a shell.Sebastian Thiel committed 1 year ago667de43
  24. fix!: rename `Prepare::with_shell_allow_argument_splitting()` to `Prepare::with_shell_allow_manual_argument_splitting()`Sebastian Thiel committed 1 year ago4d9bded
  25. feat: add `Prepare::with_shell_disallow_manual_argument_splitting()`.Sebastian Thiel committed 1 year ago26c274d
  26. feat!: allow to choose the shell to use with `Prepare::with_shell_program()`.Sebastian Thiel committed 1 year ago838420f
  27. fix: Add test to assure `echo "$@" >&2` works as expected (#1284)Sebastian Thiel committed 2 years ago74631d4
  28. feat: on windows, try to parse the interpreter out of files.Sebastian Thiel committed 2 years ago33517d0
  29. feat: facilities to parse interpreters out of executables (windows compatible).Sebastian Thiel committed 2 years ago5708fee
  30. feat: Add `Context` to provide much more context just like `git` sets it. (#1129)Sebastian Thiel committed 2 years ago9d7e28d
  31. feat: add `Prepare::with_shell_allow_argument_splitting()` flag.Sebastian Thiel committed 2 years ago05972f1
  32. add some tests to be clearer about the kind of command that is created (#1103)Sebastian Thiel committed 2 years ago1ff26b9
  33. fix gix-command tests on windowsSebastian Thiel committed 3 years ago67a0220
  34. fix various tests to run properly on linuxSebastian Thiel committed 3 years agoef8ccd9
  35. rename `git-testtools` to `gix-testtools`Sebastian Thiel committed 3 years agob65c33d